blob: 440a2c72e4efa35cf8681e661f403f72fd8be829 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--- 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
|