X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=am%2Fheader.mk;fp=am%2Fheader.mk;h=1309171db72d661a41d248f9a7489c18ab3d57db;hb=fcbd5f6835f65055d0ac14d3a2da3afb39634fd3;hp=0000000000000000000000000000000000000000;hpb=6b8dbf88373a486ad0117331cfb577b3b6010141;p=apps%2Fmadtty.git diff --git a/am/header.mk b/am/header.mk new file mode 100644 index 0000000..1309171 --- /dev/null +++ b/am/header.mk @@ -0,0 +1,16 @@ +# Disable most default rules +.SUFFIXES: + +# where is admin/ wrt us ? +CONFDIR := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))) + +ifeq ("","$(DEPTH)") + $(error you have to define DEPTH) +endif + +include $(CONFDIR)/vars.mk +include $(CONFDIR)/cflags.mk + +# trick : make all always be the default target ! +# note that it breaks default Makefile semantics +all::