1999-04-13 07:06:36 +00:00
|
|
|
--- Makefile.orig Mon Oct 7 15:31:25 1996
|
|
|
|
+++ Makefile Sat Apr 3 11:15:32 1999
|
1999-04-03 01:42:08 +00:00
|
|
|
@@ -26,11 +26,10 @@
|
|
|
|
#
|
|
|
|
PROG = tgd
|
|
|
|
HOME = .
|
|
|
|
-GDHOME = $(HOME)/gd1.2
|
1999-04-13 07:06:36 +00:00
|
|
|
-CC = gcc
|
|
|
|
+CC ?= gcc
|
1999-04-03 01:42:08 +00:00
|
|
|
CDEFS =
|
|
|
|
-INCLUDE = -I$(HOME) -I$(GDHOME)
|
|
|
|
-GDLIB = $(GDHOME)/libgd.a
|
1999-04-13 07:06:36 +00:00
|
|
|
+INCLUDE = -I$(HOME) -I${PREFIX}/include/gd
|
|
|
|
+GDLIB = ${PREFIX}/lib/libgd.a
|
1999-04-03 01:42:08 +00:00
|
|
|
#
|
|
|
|
# Some debugging/profiling options
|
|
|
|
# CFLAGS = -p $(CDEFS) $(INCLUDE)
|
1999-04-13 07:06:36 +00:00
|
|
|
@@ -40,10 +39,10 @@
|
|
|
|
#
|
|
|
|
# CFLAGS = -g $(CDEFS) $(INCLUDE)
|
|
|
|
# LDFLAGS = -g -n
|
|
|
|
-CFLAGS = $(CDEFS) $(INCLUDE)
|
|
|
|
+CFLAGS += $(CDEFS) $(INCLUDE)
|
1999-04-03 01:42:08 +00:00
|
|
|
LDFLAGS =
|
|
|
|
|
|
|
|
-LDLIBS = -L$(GDHOME) -lgd -lm
|
1999-04-13 07:06:36 +00:00
|
|
|
+LDLIBS = -L${PREFIX}/lib -lgd -lm
|
1999-04-03 01:42:08 +00:00
|
|
|
MAKEFILE = Makefile
|
|
|
|
FONT1 = tgdFont10x20.c tgdFont12x24.c tgdFont5x8.c tgdFont6x10.c
|
|
|
|
FONT2 = tgdFont6x12.c tgdFont6x13.c tgdFont6x13bold.c tgdFont6x9.c
|