Add XCFLAGS to the CFLAGS in the Makefile.

Supports adding custom compiler flags without editing the Makefile.
This commit is contained in:
Tor Andersson
2018-01-24 14:44:14 +01:00
parent e25c83d6b5
commit 8df3dcd8c1
+2
View File
@@ -36,6 +36,8 @@ CFLAGS += -Os
LDFLAGS += -Wl,-s
endif
CFLAGS += $(XCFLAGS)
# You shouldn't need to edit anything below here.
OUT := build/$(build)