1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Respect CC and CFLAGS

This commit is contained in:
Kris Kennaway 2000-02-06 07:17:21 +00:00
parent 2996fa7a7b
commit 60b3027204
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25511

View File

@ -1,6 +1,6 @@
--- Makefile.orig Fri Dec 4 00:33:58 1998
+++ Makefile Sat Feb 13 00:20:30 1999
@@ -2,11 +2,10 @@
--- Makefile.orig Fri Dec 4 02:03:58 1998
+++ Makefile Mon Apr 12 00:05:16 1999
@@ -2,22 +2,24 @@
# Makefile,v 1.8 1998/12/03 15:33:58 rneswold Exp
#
@ -13,3 +13,19 @@
LIBS = -lXpm -lXext -lX11 -lkvm
OBJS = main.o if.o wmgeneral.o
INCDIR = -I${X11BASE}/include
+CC ?= cc
+CFLAGS ?= -O
+
.c.o :
- cc -c -g -O1 -Wall ${INCDIR} $< -o $*.o
+ $(CC) -c $(CFLAGS) -g -Wall ${INCDIR} $< -o $*.o
all :: wmnet
wmnet : $(OBJS)
- cc -o wmnet $(OBJS) $(LIBDIR) $(LIBS) ${INCDIR}
+ $(CC) -o wmnet $(OBJS) $(LIBDIR) $(LIBS) ${INCDIR}
main.o : wmnet-mask.xbm wmnet-master.xpm wmnet.h wmgeneral.h