Enabling compile options
authorDavid Griffith <dave@661.org>
Sat, 25 Aug 2012 04:34:13 +0000 (21:34 -0700)
committerDavid Griffith <dave@661.org>
Sat, 25 Aug 2012 04:34:13 +0000 (21:34 -0700)
Makefile

index bc0d3158c0ad6e405feeec08d167505d31c708c5..dbdda69d12b8a2160cde06808b876d8323235859 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -214,19 +214,19 @@ all:      $(NAME) d$(NAME)
 .SUFFIXES: .c .o .h
 
 $(COMMON_OBJECT): %.o: %.c
-       $(CC) $(COMMON_DEFS) -o $@ -c $<
+       $(CC) $(OPTS) $(COMMON_DEFS) -o $@ -c $<
 
 $(BLORB_OBJECT): %.o: %.c
-       $(CC) -o $@ -c $<
+       $(CC) $(OPTS) -o $@ -c $<
 
 $(DUMB_OBJECT): %.o: %.c
-       $(CC) -o $@ -c $<
+       $(CC) $(OPTS) -o $@ -c $<
 
 $(CURSES_OBJECT): %.o: %.c
-       $(CC) $(CURSES_DEFS) -o $@ -c $<
+       $(CC) $(OPTS) $(CURSES_DEFS) -o $@ -c $<
 
 $(SDL_OBJECT): %.o: %.c
-       $(CC) $(SDL_DEFS) -o $@ -c $<
+       $(CC) $(OPTS) $(SDL_DEFS) -o $@ -c $<
 
 
 # If you're going to make this target manually, you'd better know which