88a54d8a99
2) Add __RCSIDs where apropriate. 3) WARNS=1, and clean up sources for WARNS=1 (including replacement of a mktemp with a mkstemp even though it was probably safe...) 4) Some other small cosmetic changes
31 lines
629 B
Makefile
31 lines
629 B
Makefile
# $NetBSD: Makefile,v 1.2 1997/08/02 21:30:21 perry Exp $
|
|
|
|
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
|
|
|
|
NOMAN=
|
|
CLEANFILES+=$(CRUNCHED) $(OUTPUTS) *.o *.lo *_stub.c
|
|
|
|
all: $(CRUNCHED)
|
|
exe: $(CRUNCHED)
|
|
|
|
$(OUTPUTS): $(CONF)
|
|
crunchgen ${.CURDIR}/$(CONF)
|
|
|
|
$(CRUNCHED): $(OUTPUTS) submake
|
|
|
|
submake:
|
|
make -f $(OUTMK)
|
|
objs:
|
|
make -f $(OUTMK) objs
|
|
|
|
.include <bsd.prog.mk>
|