Commits
Marius Schamschula authored 53cf5d7d2e0
1 - | --- makefile.orig 2015-06-01 08:25:41.000000000 -0500 |
2 - | +++ makefile 2016-08-21 22:25:19.000000000 -0500 |
1 + | --- Makefile.orig 2015-09-20 09:07:55.000000000 -0500 |
2 + | +++ Makefile 2018-11-21 08:52:05.000000000 -0600 |
3 3 | |
4 4 | # |
5 5 | |
6 6 | |
7 7 | -C=gcc |
8 8 | +C=g++ |
9 9 | CFLAGS=-c -Wall |
10 10 | -LDFLAGS= -lm -lstdc++ |
11 11 | -SOURCES=sunwait.cpp sunriset.cpp print.cpp sunwait.h sunriset.h print.h |
12 12 | +LDFLAGS= -lm |
13 13 | +SOURCES=sunwait.cpp sunriset.cpp print.cpp |
14 14 | OBJECTS=$(SOURCES:.cpp=.o) |
15 15 | EXECUTABLE=sunwait |
16 16 | |
17 + | |
18 + | rm -f *.o sunwait |
19 + | |
20 + | install: |
21 + | - install -D -m 755 sunwait $(DESTDIR)/usr/bin/sunwait |
22 + | + install -D -m 755 sunwait $(DESTDIR)%PREFIX%/bin/sunwait |