diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-23 15:36:00 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-23 15:36:00 +0000 |
commit | b340985b27d8a06fecee2f28307dc689f2eea5b4 (patch) | |
tree | 8532a4ff77f8d2d0338e3ec71305b30b0efc1771 /Rules.mak | |
parent | 72c3d34323756a765ba4c635abf997c2c2584489 (diff) |
Cleanup makefiles and make clean a bit
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -166,12 +166,12 @@ endif # Add a bunch of extra pedantic annoyingly strict checks -XWARNINGS=-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing +XWARNINGS=$(subst ",, $(strip $(WARNINGS))) -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing +XARCH_CFLAGS=$(subst ",, $(strip $(ARCH_CFLAGS))) CPU_CFLAGS=$(subst ",, $(strip $(CPU_CFLAGS-y))) # Some nice CFLAGS to work with -CFLAGS:=$(subst ",, $(strip $(WARNINGS))) $(XWARNINGS) $(OPTIMIZATION) \ - -fno-builtin -nostdinc $(CPUFLAGS) -D_LIBC $(CPU_CFLAGS) \ - $(subst ",, $(strip $(ARCH_CFLAGS))) -I$(TOPDIR)include -I. +CFLAGS:=$(XWARNINGS) $(OPTIMIZATION) $(XARCH_CFLAGS) $(CPU_CFLAGS) \ + -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)include -I. ifeq ($(DODEBUG),y) CFLAGS += -g |