blob: c7a49d98040bfee79d6b931cfd68efbd38005750 (
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 Fri Nov 24 16:37:59 2006
+++ Makefile Fri Nov 24 16:39:35 2006
@@ -1,12 +1,12 @@
# Makefile for wmbsdbatt
#
# $Id: Makefile,v 1.1 2003/12/23 18:27:34 le Exp $
-CC = gcc
+#CC = gcc
PROGRAM = wmbsdbatt
OBJS = wmbsdbatt.o dockapp.o
HEADER = dockapp.h
-CFLAGS += -Wall -I/usr/local/include -I/usr/X11R6/include
-LDFLAGS += -L/usr/local/lib -L/usr/X11R6/lib -lX11 -lXext -lXpm
+CFLAGS += -Wall -I$(LOCALBASE)/include -I$(X11BASE)/include
+LDFLAGS += -L$(LOCALBASE)/lib -L$(X11BASE)/lib -lX11 -lXext -lXpm
all: ${PROGRAM}
@@ -14,9 +14,6 @@
gcc ${CFLAGS} ${LDFLAGS} -o ${PROGRAM} ${OBJS}
${OBJS}: ${HEADER}
-
-install:
- install -c -o 0 -g 0 -s ${PROGRAM} /usr/X11R6/bin
clean:
rm -f *.o *.core ${PROGRAM}
|