d9e6c66ce8
- Added "Locked" memory capabilities via config file. - General code clean-up. - Keyboard support.
26 lines
745 B
Plaintext
26 lines
745 B
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2001/01/19 18:50:14 naddy Exp $
|
|
--- Makefile.orig Mon Dec 11 05:51:48 2000
|
|
+++ Makefile Fri Jan 19 18:34:51 2001
|
|
@@ -1,15 +1,17 @@
|
|
-INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include
|
|
-LIBINC =-L/usr/X11R6/lib
|
|
+INCLUDES =-I${X11BASE}/include
|
|
+LIBINC =-L${X11BASE}/lib
|
|
LIBS = -lX11 -lXpm -lXext -lm
|
|
|
|
TARGET = wmcalc
|
|
OBJECTS = wmcalc.o readln.o wmcalcswitch.o wmcalcfunc.o
|
|
|
|
.c.o:
|
|
- gcc -O2 -c -Wall ${INCLUDES} ${FLAGS} $< -o $*.o
|
|
+ $(CC) $(CFLAGS) -c ${INCLUDES} ${FLAGS} $< -o $*.o
|
|
|
|
${TARGET}: ${OBJECTS}
|
|
- gcc -O2 -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
|
|
+ $(CC) -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
|
|
+
|
|
+all:: ${TARGET}
|
|
|
|
clean::
|
|
for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done
|