Support ${CC}.
This commit is contained in:
parent
6844f7279a
commit
a4ccf837b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19580
1 changed files with 8 additions and 6 deletions
|
@ -1,7 +1,8 @@
|
|||
--- Makefile.orig Tue Mar 23 06:26:24 1999
|
||||
+++ Makefile Sun Mar 28 22:30:43 1999
|
||||
--- Makefile.orig Tue Jun 8 14:56:00 1999
|
||||
+++ Makefile Sat Jun 19 16:30:16 1999
|
||||
@@ -1,6 +1,6 @@
|
||||
LIBDIR = -L/usr/X11R6/lib
|
||||
-LIBDIR = -L/usr/X11R6/lib
|
||||
+LIBDIR = -L${X11BASE}/lib
|
||||
LIBS = -lXpm -lXext -lX11
|
||||
-FLAGS = -O2
|
||||
+CFLAGS ?= -O2
|
||||
|
@ -13,15 +14,15 @@
|
|||
|
||||
.c.o:
|
||||
- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
|
||||
+ cc -I/usr/X11R6/include $(CFLAGS) -c -Wall $< -o $*.o
|
||||
+ ${CC} -I/usr/X11R6/include $(CFLAGS) -c -Wall $< -o $*.o
|
||||
|
||||
wmpop3: $(OBJS)
|
||||
- cc $(FLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
|
||||
+ cc $(CFLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
|
||||
+ ${CC} $(CFLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
|
||||
|
||||
all:: wmpop3
|
||||
|
||||
@@ -24,24 +24,6 @@
|
||||
@@ -24,25 +24,7 @@
|
||||
rm -f *~
|
||||
|
||||
install:: wmpop3
|
||||
|
@ -49,3 +50,4 @@
|
|||
+ cp -f wmpop3 /usr/X11R6/bin/
|
||||
+ chmod 755 /usr/X11R6/bin/wmpop3
|
||||
+ chown root.wheel /usr/X11R6/bin/wmpop3
|
||||
@echo "Please edit ~/.wmpop3rc before running WMPop3."
|
||||
|
|
Loading…
Reference in a new issue