aboutsummaryrefslogtreecommitdiff
path: root/graphics/isreal/files/patch-Makefile
blob: 03227ede7022650f6570ae68c3804a85697db367 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- Makefile.orig	Wed Jan  5 22:39:10 2000
+++ Makefile	Mon Nov 27 00:23:30 2006
@@ -1,16 +1,17 @@
 #
 #  $Id: Makefile,v 1.7 2000/01/05 21:39:10 aland Exp $
 #
-LIBS	= -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext \
-		-ljpeg -lpng -ltiff -lz -lgif -lm -lImlib 
-CFLAGS	= -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align \
-	-Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes \
-	-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
+LIBS	= -L$(LOCALBASE)/lib -L/usr/local/lib -lX11 -lXext \
+		-ljpeg -lpng -ltiff -lz -lungif -lm -lImlib 
+
+CFLAGS	+= -I$(LOCALBASE)/include
 
 VERSION=2.0
 
+all: isreal
+
 isreal: isreal.o
-	$(CC) $^ $(LIBS) -o $@
+	$(CC) isreal.o $(LIBS) -o $@
 
 clean:
 	@rm -f *~ *.o isreal