blob: aead84af804952d379ab7daf4d1d7ea18d4a126e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|