1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Respect ${CXX}

PR:		ports/63483
Submitted by:	maintainer
This commit is contained in:
Pav Lucistnik 2004-03-01 12:26:35 +00:00
parent 2d2230aa3b
commit e556665cdd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102635

View File

@ -1,11 +1,17 @@
--- Makefile.orig Sat Dec 7 23:49:52 2002
+++ Makefile Tue Apr 15 02:32:25 2003
@@ -1,6 +1,6 @@
+++ Makefile Mon Mar 1 13:24:57 2004
@@ -1,11 +1,11 @@
-CPPFLAGS=-W -Wall -O2 -finline-functions
+CPPFLAGS=-W -Wall -O2 -finline-functions -I/usr/local/include -L/usr/local/lib
+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/' >$@