1 # $NetBSD: Makefile,v 1.14 2013/02/16 16:30:28 jmcneill Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/12/93
5 SRCS= main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c
7 CLEANFILES+=mkdata data.c
12 $(CC) $(CFLAGS) -o $(PROG) $(SRCS)
16 ./mkdata glorkz > data.c
19 clang -o mkdata setup.c
21 install: $(PROG) $(MAN)
22 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
23 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
26 rm -f $(CLEANFILES) $(PROG)
28 .PHONY: all clean install