~voidraven/scry

a69e760069f63a5255bcc5ef18401befed629334 — lotus 4 months ago e964c0e
added install/uninstall location into makefile
1 files changed, 9 insertions(+), 4 deletions(-)

M makefile
M makefile => makefile +9 -4
@@ 7,6 7,9 @@ LDFLAGS += -I tests
LDFLAGS += -I $(PREFIX)/include
LDLIBS=-L$(PREFIX)/lib -lscrypt

BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/share/man/man1

.POSIX: all debug opt

all: scry


@@ 39,11 42,13 @@ test: test_scry.o scry.o
test_scry.o: tests/test_scry.cpp
	$(CXX) $(CXXFLAGS) $(LDFLAGS) $(CXXFLAGS) -c tests/test_scry.cpp

#install
#> install on users system
install:
	cp ./scry $(BINDIR)
	cp ./scry.1 $(MANDIR)

#uninstall
#> exact opposite of install
uninstall:
	rm $(BINDIR)/scry
	rm $(MANDIR)/scry.1

# make a source archive for distribution
dist: distclean