aboutsummaryrefslogtreecommitdiffstats
path: root/icetime/Makefile
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-10-19 17:02:56 +0200
committerClifford Wolf <clifford@clifford.at>2015-10-19 17:02:56 +0200
commit1f4e4d7724e91fe0ee11cdce7b7eace2b307f0cf (patch)
treea434c98b7bdee889a0dc377a65ffb9332d45c186 /icetime/Makefile
parentf1e096480ac704ee1845b129ad7baadea78742fc (diff)
downloadicestorm-1f4e4d7724e91fe0ee11cdce7b7eace2b307f0cf.tar.gz
icestorm-1f4e4d7724e91fe0ee11cdce7b7eace2b307f0cf.tar.bz2
icestorm-1f4e4d7724e91fe0ee11cdce7b7eace2b307f0cf.zip
Started work on icetime
Diffstat (limited to 'icetime/Makefile')
-rw-r--r--icetime/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/icetime/Makefile b/icetime/Makefile
new file mode 100644
index 0000000..aead84a
--- /dev/null
+++ b/icetime/Makefile
@@ -0,0 +1,25 @@
+# CXX = clang
+CXX ?= clang
+LDLIBS = -lm -lstdc++
+CXXFLAGS = -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include
+CC = $(CXX)
+DESTDIR = /usr/local
+
+all: icetime
+
+icetime: icetime.o
+
+install: all
+ cp icetime $(DESTDIR)/bin/icetime
+
+uninstall:
+ rm -f $(DESTDIR)/bin/icetime
+
+clean:
+ rm -f icetime
+ rm -f *.o *.d
+
+-include *.d
+
+.PHONY: all install uninstall clean
+