Fix #19, minor nit of unused variables in the Makefile.
authorDavid Griffith <dave@661.org>
Sun, 9 Aug 2015 22:46:52 +0000 (15:46 -0700)
committerDavid Griffith <dave@661.org>
Sun, 9 Aug 2015 22:46:52 +0000 (15:46 -0700)
Makefile

index 96cf7f4aca1a454e55e15e1a9126e401f7696fd4..ec38050165caea3b5f1cb9220f2d644bb609b442 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -189,8 +189,6 @@ OPT_DEFS = -DCONFIG_DIR="\"$(CONFIG_DIR)\"" $(CURSES_DEF) \
 CURSES_DEFS = $(OPT_DEFS) $(COLOR_DEFS) $(SOUND_DEFS) $(SOUNDCARD) \
        $(MEMMOVE_DEF)
 
-FLAGS = $(OPTS) $(CURSES_DEFS) $(INCL)
-
 
 $(NAME): $(NAME)-curses
 curses:  $(NAME)-curses
@@ -223,10 +221,10 @@ $(DUMB_OBJECT): %.o: %.c
        $(CC) $(OPTS) -o $@ -c $<
 
 $(CURSES_OBJECT): %.o: %.c
-       $(CC) $(OPTS) $(CURSES_DEFS) -o $@ -c $<
+       $(CC) $(OPTS) $(CURSES_DEFS) $(INCL) -o $@ -c $<
 
 $(SDL_OBJECT): %.o: %.c
-       $(CC) $(OPTS) $(SDL_DEFS) -o $@ -c $<
+       $(CC) $(OPTS) $(SDL_DEFS) $(INCL) -o $@ -c $<
 
 
 # If you're going to make this target manually, you'd better know which