diff options
Diffstat (limited to 'icemulti/Makefile')
-rw-r--r-- | icemulti/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/icemulti/Makefile b/icemulti/Makefile index f195e61..387549d 100644 --- a/icemulti/Makefile +++ b/icemulti/Makefile @@ -1,19 +1,17 @@ -# CXX = clang -CXX ?= clang +include ../config.mk LDLIBS = -lm -lstdc++ CXXFLAGS = -MD -O0 -ggdb -Wall -std=c++11 -CC = $(CXX) -DESTDIR = /usr/local all: icemulti icemulti: icemulti.o install: all - cp icemulti $(DESTDIR)/bin/icemulti + mkdir -p $(DESTDIR)$(PREFIX)/bin + cp icemulti $(DESTDIR)$(PREFIX)/bin/icemulti uninstall: - rm -f $(DESTDIR)/bin/icemulti + rm -f $(DESTDIR)$(PREFIX)/bin/icemulti clean: rm -f icemulti |