2001-07-20 06:20:32 +00:00
|
|
|
# $FreeBSD$
|
1994-06-15 10:33:49 +00:00
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
CRUNCHED= fixit
|
1994-06-15 10:33:49 +00:00
|
|
|
|
|
|
|
# below is boiler-plate to make $(CRUNCHED) from $(CRUNCHED).conf
|
|
|
|
# I'd use PROG instead of CRUNCHED, but the system makefiles REALLY want
|
|
|
|
# to build things in the normal way if you use PROG.
|
|
|
|
|
|
|
|
CONF= $(CRUNCHED).conf
|
|
|
|
|
|
|
|
OUTMK= $(CRUNCHED).mk
|
2001-07-20 06:20:32 +00:00
|
|
|
OUTPUTS= $(OUTMK) $(CRUNCHED).c $(CRUNCHED).cache
|
1994-06-15 10:33:49 +00:00
|
|
|
|
2004-12-21 08:47:35 +00:00
|
|
|
NO_MAN=
|
2001-07-20 06:20:32 +00:00
|
|
|
CLEANFILES+= $(CRUNCHED) *.o *.lo *.c *.mk *.cache
|
|
|
|
CLEANDIRFILES+= $(OUTPUTS)
|
1994-06-15 10:33:49 +00:00
|
|
|
|
|
|
|
all: $(CRUNCHED)
|
|
|
|
exe: $(CRUNCHED)
|
|
|
|
|
|
|
|
$(OUTPUTS): $(CONF)
|
|
|
|
crunchgen ${.CURDIR}/$(CONF)
|
|
|
|
|
|
|
|
$(CRUNCHED): $(OUTPUTS) submake
|
|
|
|
|
|
|
|
submake:
|
|
|
|
make -f $(OUTMK)
|
|
|
|
objs:
|
|
|
|
make -f $(OUTMK) objs
|
|
|
|
cleandir:
|
|
|
|
rm -f $(CLEANDIRFILES)
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|