config.mk (375B)
1 VERSION = 0.2.3 2 3 # nmake \ 4 !ifndef 0 # \ 5 CFLAGS = /DFMAKE_VERSION=\"$(VERSION)\" # \ 6 !if "$(type)" == "release" # \ 7 CFLAGS = $(CFLAGS) /ZI /DNDEBUG /O2 # \ 8 !else # \ 9 CFLAGS = $(CFLAGS) /Zi # \ 10 !endif # \ 11 RM=del # \ 12 !else 13 type?=debug 14 debugCFLAGS = -g 15 releaseCFLAGS = -O2 16 CFLAGS ?= -DFMAKE_VERSION=\"$(VERSION)\" -Wall -Wextra $($(type)CFLAGS) 17 PREFIX = /usr/local 18 # \ 19 !endif 20