From c93d16b6eb05984dc2c8ef474fe94d2136f6c0e2 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Tue, 6 Oct 2015 23:28:21 +0800 Subject: Add makefile and an example app. Furthermore, make the compiler happier with my stupid code. --- tools/dtputil/makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tools/dtputil/makefile (limited to 'tools') 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 -- cgit v1.2.3