aboutsummaryrefslogtreecommitdiffstats
path: root/icepack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'icepack/Makefile')
-rw-r--r--icepack/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/icepack/Makefile b/icepack/Makefile
new file mode 100644
index 0000000..06aeaeb
--- /dev/null
+++ b/icepack/Makefile
@@ -0,0 +1,25 @@
+
+CC = clang
+CXX = clang
+LDFLAGS = -lm -lstdc++
+CFLAGS = -MD -Os -Wall -std=c99
+CXXFLAGS = -MD -Os -Wall -std=c99
+
+all: iceunpack
+
+iceunpack: iceunpack.o
+
+install: all
+ cp iceunpack /usr/local/bin/iceunpack
+
+uninstall:
+ rm -f /usr/local/bin/iceunpack
+
+clean:
+ rm -f iceunpack
+ rm -f *.o *.d
+
+-include *.d
+
+.PHONY: install uninstall clean
+