1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/misc/wmcp/files/patch-aa

26 lines
789 B
Plaintext
Raw Normal View History

--- 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