mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
c38aaa7db0
retrieved through yahoo. PR: 12883 Submitted by: Will Andrews <andrews@technologist.com>
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
--- Makefile.orig Wed Jul 7 12:22:08 1999
|
|
+++ Makefile Sun Aug 1 19:45:11 1999
|
|
@@ -2,13 +2,13 @@
|
|
# <mfischer@umr.edu>
|
|
# based on wmWeather - see ../Credits for more information
|
|
|
|
-CC = gcc
|
|
-CFLAGS = -O2 -g -Wall
|
|
+CC ?= gcc
|
|
+CFLAGS += -g -Wall
|
|
DEBUG = -DMLF_DEBUG
|
|
GCOV = -fprofile-arcs -ftest-coverage
|
|
-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
|
|
-DESTDIR= /usr/X11R6
|
|
-LIBDIR = -L/usr/X11R6/lib
|
|
+INCDIR = -I${PREFIX}/include/X11 -I${PREFIX}/include
|
|
+DESTDIR= ${PREFIX}
|
|
+LIBDIR = -L${PREFIX}/lib
|
|
# for linux
|
|
LIBS = -lXpm -lX11 -lXext
|
|
# for Solaris
|
|
@@ -22,10 +22,6 @@
|
|
.c.o:
|
|
$(CC) $(CFLAGS) -c $< -o $*.o $(INCDIR)
|
|
|
|
-# $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
|
|
-# no longer need the -D<uname>...
|
|
-
|
|
-
|
|
all: wmstock.o wmstock
|
|
|
|
wmstock.o: wmstock_master.xpm wmstock_mask.xbm
|
|
@@ -43,8 +39,3 @@
|
|
rm -f $$i; \
|
|
done
|
|
rm -f wmstock
|
|
-
|
|
-install:: wmstock
|
|
- install -c -s -m 0755 wmstock $(DESTDIR)/bin
|
|
- install -c -m 0755 testqt.pl $(DESTDIR)/bin
|
|
- install -c -m 0644 wmstock.1x $(DESTDIR)/man/man1
|