summaryrefslogtreecommitdiffstats
path: root/ching/castching/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ching/castching/Makefile')
-rw-r--r--ching/castching/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/ching/castching/Makefile b/ching/castching/Makefile
index dd84fc9e..905a9e32 100644
--- a/ching/castching/Makefile
+++ b/ching/castching/Makefile
@@ -1,7 +1,19 @@
# $NetBSD: Makefile,v 1.1 2005/06/30 13:30:33 perry Exp $
PROG= castching
-NOMAN= # defined
+SRCS= castching.c
BINDIR= /usr/libexec/ching
-.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