2013-07-24 02:30:02 +00:00
|
|
|
prefix=/usr/local
|
|
|
|
|
2013-07-27 02:14:00 +00:00
|
|
|
all: wspr gpioclk
|
|
|
|
|
2013-07-24 02:30:02 +00:00
|
|
|
wspr: wspr.cpp
|
|
|
|
g++ -Wall -lm wspr.cpp -owspr
|
|
|
|
|
2013-07-27 02:14:00 +00:00
|
|
|
gpioclk: gpioclk.cpp
|
|
|
|
g++ -Wall -lm gpioclk.cpp -ogpioclk
|
|
|
|
|
2013-07-24 02:30:02 +00:00
|
|
|
.PHONY: install
|
|
|
|
install: wspr
|
|
|
|
install -m 0755 wspr $(prefix)/bin
|
2013-07-27 02:14:00 +00:00
|
|
|
install -m 0755 gpioclk $(prefix)/bin
|
2013-07-24 02:30:02 +00:00
|
|
|
|
|
|
|
.PHONY: uninstall
|
|
|
|
uninstall:
|
2013-07-27 02:14:00 +00:00
|
|
|
rm -f $(prefix)/bin/wspr
|
|
|
|
rm -f $(prefix)/bin/gpioclk
|
2013-07-13 22:11:53 +00:00
|
|
|
|