--- Makefile.orig Thu Apr 20 14:15:07 2000 +++ Makefile Wed Apr 26 19:16:04 2000 @@ -1,10 +1,10 @@ -CC=gcc -CFLAGS=-O3 +CC?=gcc +CFLAGS?=-O3 #CFLAGS=-O3 -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi #CFLAGS=-g -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi TARGET=fortunelock LIBS=-lncurses -PREFIXDIR=/usr/local +PREFIX?=/usr/local all: $(TARGET) @@ -19,8 +19,8 @@ install: strip fortunelock - install -m 755 fortunelock $(PREFIXDIR)/bin - install -m 644 fortunelock.1 $(PREFIXDIR)/man/man1 + install -c -m 755 fortunelock $(PREFIX)/bin + install -c -m 644 fortunelock.1 $(PREFIX)/man/man1 uninstall: - rm -rf $(PREFIXDIR)/bin/fortunelock + rm -rf $(PREFIX)/bin/fortunelock