Source
--- Makefile.orig 2015-09-20 09:07:55.000000000 -0500
+++ Makefile 2018-11-21 08:52:05.000000000 -0600
#
-C=gcc
+C=g++
CFLAGS=-c -Wall
-LDFLAGS= -lm -lstdc++
-SOURCES=sunwait.cpp sunriset.cpp print.cpp sunwait.h sunriset.h print.h
+LDFLAGS= -lm
+SOURCES=sunwait.cpp sunriset.cpp print.cpp
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=sunwait
rm -f *.o sunwait
install:
- install -D -m 755 sunwait $(DESTDIR)/usr/bin/sunwait
+ install -D -m 755 sunwait $(DESTDIR)%PREFIX%/bin/sunwait