diff options
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,10 +1,16 @@ # Standard housekeeping -.PHONY: all clean install +.PHONY: all debug release clean install .SUFFIXES: .SUFFIXES: .s .c .o all: targets +debug: CFLAGS += -DDEBUG +debug: targets + +release: CFLAGS += -DNDEBUG -O3 +release: targets + # Targets & array of sources & intermediates SRCS := OBJS := |