No empty .Rs/.Re
[netbsd-mini2440.git] / usr.bin / crunch / examples / Makefile
blobc16c7e02242ec28605d601eaaa9954b4c34e4e18
1 # $NetBSD: Makefile,v 1.5 2001/12/12 01:48:44 tv Exp $
3 NOMAN= # defined
5 CRUNCHED= fixit
7 # below is boiler-plate to make $(CRUNCHED) from $(CRUNCHED).conf
8 # I'd use PROG instead of CRUNCHED, but the system makefiles REALLY want
9 # to build things in the normal way if you use PROG.
11 CONF= $(CRUNCHED).conf
13 OUTMK= $(CRUNCHED).mk
14 OUTPUTS= $(OUTMK) $(CRUNCHED).c $(CRUNCHED).cache
16 CLEANFILES+=$(CRUNCHED) $(OUTPUTS) *.o *.lo *_stub.c
18 all: $(CRUNCHED)
19 exe: $(CRUNCHED)
21 $(OUTPUTS): $(CONF)
22 crunchgen ${.CURDIR}/$(CONF)
24 $(CRUNCHED): $(OUTPUTS) submake
26 submake:
27 ${MAKE} -f $(OUTMK)
28 objs:
29 ${MAKE} -f $(OUTMK) objs
31 .include <bsd.prog.mk>