1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/graphics/png2html/files/patch-aa
Kris Kennaway 63f99ba19c Respect CC
2000-02-19 10:42:53 +00:00

21 lines
471 B
Plaintext

--- Makefile.orig Sat Nov 13 14:42:36 1999
+++ Makefile Sat Feb 19 02:41:12 2000
@@ -1,12 +1,14 @@
# Makefile for png2html, (c) 1999 Geoff Holden
-CC = gcc
-CFLAGS = -O2 -Wall -lpng -lgd
+CC ?= gcc
+INCLUDES= -ICHANGE_ME/include/gd
+LDFLAGS = -LCHANGE_ME/lib
+LIBS = -lpng -lgd
all: png2html
png2html:
- $(CC) -o png2html png2html.c $(CFLAGS)
+ $(CC) -o png2html png2html.c $(CFLAGS) $(INCLUDES) $(LDFLAGS) $(LIBS)
clean:
rm -f *~ png2html