blob: 5465a9235164a80b0ccf84311bb5742b5a869ce5 (
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
|
--- Makefile.orig Thu May 27 16:17:20 1999
+++ Makefile Fri Aug 11 02:28:17 2000
@@ -1,7 +1,7 @@
-INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11
-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib
+INCLUDES = -I${X11BASE}/include/X11 -I${X11BASE}/include
+LIBINC = -L${X11BASE}/lib
LIBS = -lm -lX11 -lXpm -lXext
TARGET = wmcp
@@ -31,10 +31,10 @@
###################################################################
${OBJECTS}: ${SOURCE}
- gcc -g -c -Wall ${INCLUDES} ${FLAGS} $< -o $*.o
+ ${CC} ${CFLAGS} -c ${INCLUDES} ${FLAGS} $< -o $@
${TARGET}: ${OBJECTS}
- gcc -g -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
+ ${CC} ${CFLAGS} -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
clean::
for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done
|