diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-02-05 14:47:07 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-02-05 14:47:07 -0800 |
commit | 35ab8cbdad84e8002db20b0b81681a50058a5bed (patch) | |
tree | 0c24985b8da53bc377cf4647c14b7020d8d2a62d /Makefile | |
parent | b537110cce3de9fc9ae9a180b3cc0d81d544de9e (diff) | |
download | abc-35ab8cbdad84e8002db20b0b81681a50058a5bed.tar.gz abc-35ab8cbdad84e8002db20b0b81681a50058a5bed.tar.bz2 abc-35ab8cbdad84e8002db20b0b81681a50058a5bed.zip |
Change to Makefile to speedup compilation.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -41,7 +41,9 @@ default: $(PROG) arch_flags : arch_flags.c $(CC) arch_flags.c -o arch_flags -ARCHFLAGS := $(shell $(CC) arch_flags.c -o arch_flags && ./arch_flags) +ARCHFLAGS ?= $(shell $(CC) arch_flags.c -o arch_flags && ./arch_flags) +ARCHFLAGS := $(ARCHFLAGS) + OPTFLAGS ?= -g -O #-DABC_NAMESPACE=xxx CFLAGS += -Wall -Wno-unused-function -Wno-write-strings -Wno-sign-compare $(OPTFLAGS) $(ARCHFLAGS) -Isrc |