mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
5a665241e9
PR: 13380 Submitted by: Maxim Sobolev <sobomax@altavista.net>
29 lines
770 B
Plaintext
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 \
|