2000-04-16 12:56:58 +00:00
|
|
|
--- Makefile.orig Thu Apr 6 22:25:39 2000
|
|
|
|
+++ Makefile Sun Apr 16 08:50:18 2000
|
2000-03-28 12:46:20 +00:00
|
|
|
@@ -1,15 +1,15 @@
|
|
|
|
-INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11
|
|
|
|
-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib
|
2000-04-16 12:56:58 +00:00
|
|
|
+INCLUDES =-I${X11BASE}/include
|
|
|
|
+LIBINC =-L${X11BASE}/lib
|
|
|
|
LIBS = -lX11 -lXpm -lXext -lm
|
2000-03-28 12:46:20 +00:00
|
|
|
|
|
|
|
TARGET = wmcalc
|
|
|
|
OBJECTS = wmcalc.o readln.o wmcalcswitch.o wmcalcfunc.o
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
- gcc -O2 -c -Wall ${INCLUDES} ${FLAGS} $< -o $*.o
|
2000-04-16 12:56:58 +00:00
|
|
|
+ gcc ${CFLAGS} -c ${INCLUDES} ${FLAGS} $< -o $*.o
|
2000-03-28 12:46:20 +00:00
|
|
|
|
|
|
|
${TARGET}: ${OBJECTS}
|
|
|
|
- gcc -O2 -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
|
2000-04-16 12:56:58 +00:00
|
|
|
+ gcc ${CFLAGS} -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
|
2000-03-28 12:46:20 +00:00
|
|
|
|
|
|
|
clean::
|
|
|
|
for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done
|