Change to Makefile to speedup compilation.

This commit is contained in:
Alan Mishchenko 2015-02-05 14:33:02 -08:00
parent 8410daf3e4
commit b537110cce
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ 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)
OPTFLAGS ?= -g -O #-DABC_NAMESPACE=xxx
CFLAGS += -Wall -Wno-unused-function -Wno-write-strings -Wno-sign-compare $(OPTFLAGS) $(ARCHFLAGS) -Isrc