-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
29 lines (23 loc) · 824 Bytes
/
Makefile
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
26
27
28
29
.PHONY: all
all: windowpane cowpatty2windowpane pyritsort
windowpane: windowpane.cpp
$(CXX) windowpane.cpp -o windowpane -std=c++11 -lcryptopp -pthread -O2
cowpatty2windowpane: cowpatty2windowpane.cpp
$(CXX) cowpatty2windowpane.cpp -o cowpatty2windowpane -std=c++11 -O2
pyritsort: pyritsort.cpp
$(CXX) pyritsort.cpp -o pyritsort -std=c++11 -O2
.PHONY: clean
clean:
$(RM) windowpane
$(RM) cowpatty2windowpane
$(RM) pyritsort
.PHONY: install
install:
echo install windowpane $(DESTDIR)/usr/bin/windowpane
echo install cowpatty2windowpane $(DESTDIR)/usr/bin/cowpatty2windowpane
echo install pyritsort $(DESTDIR)/usr/bin/pyritsort
.PHONY: uninstall
uninstall:
echo $(RM) $(DESTDIR)/usr/bin/windowpane
echo $(RM) $(DESTDIR)/usr/bin/cowpatty2windowpane
echo $(RM) $(DESTDIR)/usr/bin/pyritsort