]> mj.ucw.cz Git - libucw.git/blobdiff - build/Maketop
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
[libucw.git] / build / Maketop
index e984f2049538a2ce99a5a7c4b5b7e1dc20ed1564..1ac82d98336633282cf30f87c336ad0a9987b755 100644 (file)
@@ -7,8 +7,8 @@ V=0
 # Disable all built-in rules and variables. Speeds up make and simplifies debugging.
 MAKEFLAGS+=-rR
 
-CFLAGS=$(CLANG) $(COPT) $(CDEBUG) $(CWARNS) -I. -I$(o) -I$(s)
-LDFLAGS=$(LOPT)
+CFLAGS=$(CLANG) $(COPT) $(CDEBUG) $(CWARNS) $(CEXTRA) -I. -I$(o) -I$(s)
+LDFLAGS=$(LOPT) $(LEXTRA)
 
 DIRS=
 PROGS=
@@ -68,6 +68,9 @@ distclean:: clean
 testclean::
        rm -f `find obj -name "*.test"`
 
+# Extra default rules (appended to by submakefiles)
+extras::
+
 # Relative symlinks and other pathname manipulation macros
 empty:=
 space:=$(empty) $(empty)