1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/sysutils/wmapm/files/patch-aa
Chris Piazza 5a665241e9 Respect CFLAGS and CC
PR:		13380
Submitted by:	Maxim Sobolev <sobomax@altavista.net>
1999-08-26 21:02:33 +00:00

29 lines
770 B
Plaintext

--- Makefile.orig Tue Dec 15 16:58:08 1998
+++ Makefile Wed Aug 25 23:55:58 1999
@@ -1,6 +1,6 @@
-CC = gcc
-CFLAGS = -O2 -Wall
-INCDIR = -I/usr/X11R6/include/X11
+CC? = gcc
+CFLAGS? = -O2 -Wall
+INCDIR = -I/usr/X11R6/include
DESTDIR= /usr/X11R6
LIBDIR = -L/usr/X11R6/lib
LIBS = -lXpm -lX11 -lXext
@@ -8,13 +8,13 @@
../wmgeneral/wmgeneral.o
.c.o:
- $(CC) $(COPTS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+ $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
all: wmapm.o wmapm
wmapm.o: wmapm_master.xpm wmapm_mask.xbm wmapm.h
wmapm: $(OBJS)
- $(CC) $(COPTS) $(SYSTEM) -o wmapm $^ $(INCDIR) $(LIBDIR) $(LIBS)
+ $(CC) $(CFLAGS) $(SYSTEM) -o wmapm $^ $(INCDIR) $(LIBDIR) $(LIBS)
clean:
for i in $(OBJS) ; do \