]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - Makefile.head
Initial struct marshalling.
[polintos/scott/priv.git] / Makefile.head
index c550d0c9f49ff9db3bb4d0d23b93307882923cdf..e3665175dfd8d6aa7636cdb10118ec2323e7b479 100644 (file)
@@ -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: