simplifications
[apps/madtty.git] / am / header.mk
1 # Disable most default rules
2 .SUFFIXES:
3
4 # where is admin/ wrt us ?
5 CONFDIR := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
6
7 ifeq ("","$(DEPTH)")
8     $(error you have to define DEPTH)
9 endif
10
11 $(CONFDIR)/%.mk:
12         $(error you need to run ./configure !)
13
14 include $(CONFDIR)/vars.mk
15 include $(CONFDIR)/cflags.mk
16
17 # trick : make all always be the default target !
18 # note that it breaks default Makefile semantics
19 all::