aboutsummaryrefslogtreecommitdiff
path: root/tools/dtputil
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-06 23:28:21 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-06 23:28:21 +0800
commitc93d16b6eb05984dc2c8ef474fe94d2136f6c0e2 (patch)
tree8e97181a5d07ffc525014875af12e83f9b16a409 /tools/dtputil
parent038b31f0158a0018dbf2eceb71026cc4e665faa9 (diff)
downloadSMELT-c93d16b6eb05984dc2c8ef474fe94d2136f6c0e2.tar.xz
Add makefile and an example app.
Furthermore, make the compiler happier with my stupid code.
Diffstat (limited to 'tools/dtputil')
-rw-r--r--tools/dtputil/makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/dtputil/makefile b/tools/dtputil/makefile
new file mode 100644
index 0000000..cb0ed0a
--- /dev/null
+++ b/tools/dtputil/makefile
@@ -0,0 +1,10 @@
+CC= g++
+CXXFLAGS= -Wall
+LINK= -lz -lsmeltext
+LINK_FOLDER= -L../../extensions/
+
+all: anmutil dtputil
+anmutil:
+ $(CC) anmutil.cpp -o anmutil $(CXXFLAGS) $(LINK_FOLDER) $(LINK)
+dtputil:
+ $(CC) dtputil.cpp -o dtputil $(CXXFLAGS) $(LINK_FOLDER) $(LINK) \ No newline at end of file