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