blob: 65d07c9c7bbc3183a43f0e42268b04f5fdd0841f (
plain) (
blame)
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
|
--- Makefile.orig Thu Jul 29 03:04:24 2004
+++ Makefile Fri Jul 30 09:45:19 2004
@@ -1,13 +1,10 @@
-CC= gcc
-MAKE= make
INSTALL= install
-PREFIX= /usr/local
DATAPATH= $(PREFIX)/share
LOCALEPATH= $(DATAPATH)/locale
DOCPATH= $(DATAPATH)/doc
-CFLAGS= -Wall -O2 -I/usr/local/include -DDATAPATH="\"$(DATAPATH)\"" -DVERSION=\"$(VERSION)\"
-LDFLAGS= -L/usr/local/lib -lncurses -lpcre
+CFLAGS+= -Wall -O2 -I$(LOCALBASE)/include -DDATAPATH="\"$(DATAPATH)\"" -DVERSION=\"$(VERSION)\"
+LDFLAGS= -L$(LOCALBASE)/lib -lncurses -lpcre
OBJFILES= main.o loadlog.o internals.o interface.o snowtk.o regexp.o filters.o setup.o
@@ -27,7 +24,7 @@
sed s#DATAPATH#$(DATAPATH)# | sed s#VERSION#$(VERSION)# \
> doc/man/snowlog.1
-install: install-bin install-data install-man install-doc
+install: install-bin install-man
install-bin: snowlog
if [ ! -d "$(PREFIX)/bin" ]; then \
|