1999-10-06 04:30:48 +00:00
|
|
|
--- Makefile.orig Fri Mar 21 20:12:30 1997
|
|
|
|
+++ Makefile Wed Sep 22 23:55:40 1999
|
|
|
|
@@ -1,9 +1,12 @@
|
1998-10-04 04:05:09 +00:00
|
|
|
|
|
|
|
-LIBS = -L/usr/X11/lib -lXext -lX11 -lXmu -lm
|
1999-10-06 04:30:48 +00:00
|
|
|
+LIBS = -L$(PREFIX)/lib -lXext -lX11 -lXmu -lm
|
1998-10-04 04:05:09 +00:00
|
|
|
+.if $(PORTOBJFORMAT) == "elf"
|
1999-10-06 04:30:48 +00:00
|
|
|
+LIBS += -Wl,-rpath,$(PREFIX)/lib
|
1998-10-04 04:05:09 +00:00
|
|
|
+.endif
|
|
|
|
|
1999-10-06 04:30:48 +00:00
|
|
|
-CC = gcc
|
|
|
|
-CCC = gcc
|
1998-10-04 04:05:09 +00:00
|
|
|
-CFLAGS = -O2
|
1999-10-06 04:30:48 +00:00
|
|
|
+CC ?= gcc
|
|
|
|
+CCC = $(CC)
|
|
|
|
+CFLAGS += -I$(PREFIX)/include
|
|
|
|
OBJECTS = Border.o Buttons.o Client.o Events.o Main.o Manager.o Rotated.o
|
1998-10-04 04:05:09 +00:00
|
|
|
|
|
|
|
.c.o:
|
1999-10-06 04:30:48 +00:00
|
|
|
@@ -13,7 +16,6 @@
|
1998-10-04 04:05:09 +00:00
|
|
|
$(CCC) -c $(CFLAGS) $<
|
|
|
|
|
|
|
|
wm2: $(OBJECTS)
|
|
|
|
- mv -f wm2 wm2.old >& /dev/null || true
|
|
|
|
$(CCC) -o wm2 $(OBJECTS) $(LIBS)
|
|
|
|
|
|
|
|
depend:
|