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 diff
     1.1 --- a/Makefile	Wed Jul 23 17:14:38 2008 +0200
     1.2 +++ b/Makefile	Wed Jul 23 17:40:55 2008 +0200
     1.3 @@ -21,7 +21,7 @@
     1.4  LDFLAGS = -Wall ${DEBUG} -lsqlite3
     1.5  
     1.6  # files
     1.7 -DEP = db.h game.h
     1.8 +DEP = db.h
     1.9  SRC = main.c clock.c environment.c weather.c growth.c db.c
    1.10  OBJ = $(SRC:.c=.o)
    1.11  
    1.12 @@ -45,6 +45,8 @@
    1.13  
    1.14  $(OBJ): $(SRC) $(DEP)
    1.15  
    1.16 +main.o: main.c $(DEP) modules.h
    1.17 +
    1.18  ${NAME}: $(DEP) $(OBJ)
    1.19  	gcc -o $(NAME) $(LDFLAGS) $(OBJ)
    1.20