2000-08-31 03:51:46 +04:00
|
|
|
# $NetBSD: Makefile,v 1.4 2000/08/30 23:51:55 jhawk Exp $
|
1994-08-29 18:47:29 +04:00
|
|
|
|
|
|
|
CRUNCHED= fixit
|
|
|
|
|
|
|
|
# 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
|
|
|
|
OUTPUTS= $(OUTMK) $(CRUNCHED).c $(CRUNCHED).cache
|
|
|
|
|
1999-02-13 05:54:17 +03:00
|
|
|
MKMAN= no
|
1994-08-29 18:47:29 +04:00
|
|
|
CLEANFILES+=$(CRUNCHED) $(OUTPUTS) *.o *.lo *_stub.c
|
|
|
|
|
|
|
|
all: $(CRUNCHED)
|
|
|
|
exe: $(CRUNCHED)
|
|
|
|
|
|
|
|
$(OUTPUTS): $(CONF)
|
|
|
|
crunchgen ${.CURDIR}/$(CONF)
|
|
|
|
|
|
|
|
$(CRUNCHED): $(OUTPUTS) submake
|
|
|
|
|
|
|
|
submake:
|
2000-08-31 03:51:46 +04:00
|
|
|
${MAKE} -f $(OUTMK)
|
1994-08-29 18:47:29 +04:00
|
|
|
objs:
|
2000-08-31 03:51:46 +04:00
|
|
|
${MAKE} -f $(OUTMK) objs
|
1994-08-29 18:47:29 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|