diff options
Diffstat (limited to 'ching/printching/Makefile')
-rw-r--r-- | ching/printching/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/ching/printching/Makefile b/ching/printching/Makefile index 8ccb39bb..4adbc181 100644 --- a/ching/printching/Makefile +++ b/ching/printching/Makefile @@ -1,7 +1,18 @@ # $NetBSD: Makefile,v 1.1 2005/06/30 13:30:33 perry Exp $ PROG= printching -NOMAN= # defined -BINDIR= /usr/libexec/ching +SRCS= printching.c -.include <bsd.prog.mk> +all: $(PROG) + +$(PROG): $(SRCS) + $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I../include + $(STRIP) $(PROG) + +install: $(PROG) + $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/libexec/ching/$(PROG) + +clean: + rm -f $(CLEANFILES) $(PROG) + +.PHONY: all clean install |