dmesg.8: Improve markup a bit and fix a typo (dumnr -> dumpnr).
[dragonfly.git] / usr.bin / crunch / examples / Makefile
blob46c8c94990b046bc67e918191a5cff210a448189
1 # $FreeBSD: head/usr.sbin/crunch/examples/Makefile 241298 2012-10-06 20:01:05Z marcel $
3 CRUNCHED= fixit
5 # below is boiler-plate to make $(CRUNCHED) from $(CRUNCHED).conf
6 # I'd use PROG instead of CRUNCHED, but the system makefiles REALLY want
7 # to build things in the normal way if you use PROG.
9 CONF= $(CRUNCHED).conf
11 OUTMK= $(CRUNCHED).mk
12 OUTPUTS= $(OUTMK) $(CRUNCHED).c $(CRUNCHED).cache
14 NO_MAN=
15 CLEANFILES+= $(CRUNCHED) *.o *.lo *.c *.mk *.cache
16 CLEANDIRFILES+= $(OUTPUTS)
18 all: $(CRUNCHED)
19 exe: $(CRUNCHED)
21 $(OUTPUTS): $(CONF)
22 MAKE=${MAKE} crunchgen ${.CURDIR}/$(CONF)
24 $(CRUNCHED): $(OUTPUTS) submake
26 submake:
27 ${MAKE} -f $(OUTMK)
28 objs:
29 ${MAKE} -f $(OUTMK) objs
30 cleandir:
31 rm -f $(CLEANDIRFILES)
33 .include <bsd.prog.mk>