summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2018-11-15 17:10:05 +0800
committerliuxueli <[email protected]>2018-11-15 17:10:05 +0800
commit075accef5fbd934e13cc90079974dd7d8961ba9e (patch)
treef135f4879e745ef51034cc8b3d5d4183d6e6cf97 /Makefile
同步内网版本
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1bdf032
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+#opt: OPTFLAGS = -O2
+#export OPTFLAGS
+
+.PHONY: all clean opt
+
+all:
+ cd src && $(MAKE)
+ cd demo && $(MAKE)
+clean:
+ cd demo && $(MAKE) clean
+ cd src && $(MAKE) clean
+
+opt:
+ $(MAKE) all