freebsd-ports/graphics/png2ico/files/patch-Makefile
Pav Lucistnik e556665cdd - Respect ${CXX}
PR:		ports/63483
Submitted by:	maintainer
2004-03-01 12:26:35 +00:00

17 lines
521 B
Text

--- Makefile.orig Sat Dec 7 23:49:52 2002
+++ Makefile Mon Mar 1 13:24:57 2004
@@ -1,11 +1,11 @@
-CPPFLAGS=-W -Wall -O2 -finline-functions
+CPPFLAGS=-W -Wall -g -O -pipe -finline-functions -I/usr/local/include -L/usr/local/lib
#CPPFLAGS=-O0 -W -Wall
-DEBUG=-g
+#DEBUG=-g
all: png2ico
png2ico: png2ico.cpp
- g++ $(CPPFLAGS) $(DEBUG) -o $@ $< -lpng -lz -lm
+ ${CXX} $(CPPFLAGS) $(DEBUG) -o $@ $< -lpng -lz -lm
doc/png2ico.txt: doc/png2ico.1
man $< |sed -e $$'s/.\b\\(.\\)/\\1/g' -e 's/\(.*\)/\1'$$'\r/' >$@