summaryrefslogtreecommitdiff
path: root/x11/wmessage/files/patch-Makefile
blob: 545573ab7138b8e0eb1e633209a0e7a1414cb0c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.orig	Sun Dec 16 19:13:01 2001
+++ Makefile	Mon Dec 17 20:23:42 2001
@@ -1,16 +1,13 @@
-PREFIX = /usr/local
 
-CFLAGS = `get-wraster-flags --cflags` -Wall
-LDFLAGS = `get-wraster-flags --ldflags`
-LIBS = `get-wraster-flags --libs`
-CC = gcc
+CFLAGS += `${X11BASE}/bin/get-wraster-flags --cflags` -I${X11BASE}/include/WINGs -Wall
+LDFLAGS = `${X11BASE}/bin/get-wraster-flags --ldflags`
+LIBS = `${X11BASE}/bin/get-wraster-flags --libs`
 
 all: wmessage
 
 wmessage: wmessage.o panel.o
 	$(CC) -o wmessage wmessage.o panel.o \
 		$(CFLAGS) $(LDFLAGS) $(LIBS) -lWMaker -lWINGs
-	strip wmessage
 
 install: wmessage
 	install -c wmessage $(PREFIX)/bin/wmessage