Mercurial > garten
diff Makefile @ 18:5937504619f2
rename game.h -> modules.h; added some error handling; and more
author | meillo@marmaro.de |
---|---|
date | Wed, 23 Jul 2008 17:40:55 +0200 |
parents | bbc214c6fa6f |
children |
line wrap: on
line diff
--- a/Makefile Wed Jul 23 17:14:38 2008 +0200 +++ b/Makefile Wed Jul 23 17:40:55 2008 +0200 @@ -21,7 +21,7 @@ LDFLAGS = -Wall ${DEBUG} -lsqlite3 # files -DEP = db.h game.h +DEP = db.h SRC = main.c clock.c environment.c weather.c growth.c db.c OBJ = $(SRC:.c=.o) @@ -45,6 +45,8 @@ $(OBJ): $(SRC) $(DEP) +main.o: main.c $(DEP) modules.h + ${NAME}: $(DEP) $(OBJ) gcc -o $(NAME) $(LDFLAGS) $(OBJ)