diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-03 20:34:50 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-03 20:34:50 -0700 |
commit | ee48d2771f45a210a25cc354d0dbff5f69821f8b (patch) | |
tree | 988f1d388352c76b9afb48502d87e6bfaa8f82bb /rules.mk | |
parent | 9d9681d6a8b7d022bde993e0e51aed13174ad0c8 (diff) |
removed the day's confusion. added debug and release mode to makefile
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 := |