aboutsummaryrefslogtreecommitdiff
path: root/tools/makefile
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-04-06 10:11:07 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-04-06 10:11:07 +0800
commitf3e040230772f978540a71aea43dfde200992922 (patch)
treebd8ca31b72dd01e24980b073854e263589530f56 /tools/makefile
downloadpsn00bsdk-f3e040230772f978540a71aea43dfde200992922.tar.gz
First commit
Diffstat (limited to 'tools/makefile')
-rw-r--r--tools/makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/makefile b/tools/makefile
new file mode 100644
index 0000000..aec452c
--- /dev/null
+++ b/tools/makefile
@@ -0,0 +1,12 @@
+TOPTARGETS = all install clean
+
+TOOLDIRS = lzpack smxlink util
+
+$(TOPTARGETS): $(TOOLDIRS)
+$(TOOLDIRS):
+ $(MAKE) -C $@ $(MAKECMDGOALS)
+
+clean: $(LIBDIRS)
+ rm -Rf bin
+
+.PHONY: $(TOPTARGETS) $(TOOLDIRS)