summaryrefslogtreecommitdiffstats
path: root/snake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'snake/Makefile')
-rw-r--r--snake/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/snake/Makefile b/snake/Makefile
index df4495b4..706c5b2a 100644
--- a/snake/Makefile
+++ b/snake/Makefile
@@ -2,5 +2,11 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
SUBDIR= snake snscore
+TOPTARGETS= all clean install
-.include <bsd.subdir.mk>
+$(TOPTARGETS): $(SUBDIR)
+
+$(SUBDIR):
+ $(MAKE) -C $@ $(MAKECMDGOALS)
+
+.PHONY: $(TOPTARGETS) $(SUBDIR)