Skip to content

Commit

Permalink
remove graphics.c
Browse files Browse the repository at this point in the history
  • Loading branch information
valerierx committed May 26, 2024
1 parent b7994f2 commit 1febee3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
CC=gcc
CFLAGS=-W -Wall -ggdb -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -std=gnu11
CFLAGS=-W -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -std=gnu11
LDFLAGS=-lncursesw
EXEC=jeu

all: jeu

jeu: logger.o graphics.o objet.o salles.o joueur.o main.o interactions.o graine.o ennemi.o porte.o partie.o ui/menu.o ui/ui.o ui/hud.o json/json.o sauvegarde.o
jeu: logger.o objet.o salles.o joueur.o main.o interactions.o graine.o ennemi.o porte.o partie.o ui/menu.o ui/ui.o ui/hud.o json/json.o sauvegarde.o
$(CC) -o $@ $^ $(LDFLAGS)

sauvegarde.o: sauvegarde.c
Expand All @@ -26,9 +26,6 @@ ui/hud.o: ui/hud.c
logger.o: logger.c
$(CC) -o $@ -c $< $(CFLAGS)

graphics.o: graphics.c
$(CC) -o $@ -c $< $(CFLAGS)

graine.o: graine.c
$(CC) -o $@ -c $< $(CFLAGS)

Expand All @@ -53,7 +50,7 @@ porte.o: porte.c
partie.o: partie.c
$(CC) -o $@ -c $< $(CFLAGS)

main.o: main.c logger.c graphics.c objet.c salles.c joueur.c interactions.c ennemi.c graine.c porte.c ui/menu.c ui/ui.c ui/hud.c json/json.c sauvegarde.c
main.o: main.c logger.c objet.c salles.c joueur.c interactions.c ennemi.c graine.c porte.c ui/menu.c ui/ui.c ui/hud.c json/json.c sauvegarde.c
$(CC) -o $@ -c $< $(CFLAGS)

clean:
Expand Down
1 change: 0 additions & 1 deletion graphics.c

This file was deleted.

0 comments on commit 1febee3

Please sign in to comment.