X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=Makefile.head;h=e3665175dfd8d6aa7636cdb10118ec2323e7b479;hp=c550d0c9f49ff9db3bb4d0d23b93307882923cdf;hb=ed94ee97c9872c957efa4790c4ea073f371262a6;hpb=8630861ba7b516e2fefbb7b815d35f260f30dfce diff --git a/Makefile.head b/Makefile.head index c550d0c..e366517 100644 --- a/Makefile.head +++ b/Makefile.head @@ -43,14 +43,25 @@ CXXINCS += -I$(TOP)/include/c++ -I$(GENINCLUDES)/c++ \ -I$(TOP)/include/c -I$(TOP)/include/c/std \ -I$(BUILDDIR)/include +CINCS += -I$(TOP)/include/c -I$(TOP)/include/c/std \ + -I$(BUILDDIR)/include + WARN += -Wall -Werror OPT += -O2 DEBUG += -g3 ABI += -freg-struct-return +ifeq ($(V),) + V := @ +else + override V := +endif -CXXFLAGS += $(CXXINCS) $(DEFS) $(CXXWARN) $(OPT) $(DEBUG) $(ABI) +CXXFLAGS += $(DEFS) $(CXXINCS) $(CXXWARN) $(OPT) $(DEBUG) $(ABI) BUILDCXXFLAGS += $(BUILDDEFS) $(CXXWARN) $(OPT) $(DEBUG) +CFLAGS += $(CINCS) $(DEFS) $(CWARN) $(OPT) $(DEBUG) $(ABI) +BUILDCFLAGS += $(BUILDDEFS) $(CWARN) $(OPT) $(DEBUG) + .PHONY: all default rerun dep servers clean distclean .SUFFIXES: