blob: 18d331aa19d4b44c30f7069e27aef9a0d64efaeb (
plain)
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
27
28
29
30
31
|
$NetBSD: patch-aa,v 1.8 2003/06/23 10:39:51 adam Exp $
--- Makefile.orig Thu Jan 14 17:42:34 1999
+++ Makefile Sun Oct 31 00:18:17 1999
@@ -4,13 +4,15 @@
# If you already have gd installed, use the line below and comment out the
# following line
# GD = /path/to/gd/directory
- GD = gd1.3
- CC = gcc
- CFLAGS = -O -I$(GD)
- #CFLAGS = -O -pedantic -Wall -I$(GD)
- LIBS = -L$(GD) -lgd -lm
+# GD = gd1.3
+# CC = gcc
+# CFLAGS = -O -I$(GD)
+# #CFLAGS = -O -pedantic -Wall -I$(GD)
+# LIBS = -L$(GD) -lgd -lm
+CFLAGS += ${CPPFLAGS}
+LIBS = ${LDFLAGS} -lgd -lpng -lz -lttf -lintl -lXpm -lX11 -ljpeg -lm
-all: gd fly
+all: fly
gd: $(GD)
cd $(GD); make CC=$(CC)
@@ -27,4 +29,3 @@
clean:
rm -f fly.o fly temp.gif core; cd $(GD); make clean;
-
|