diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-07 17:57:35 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-07 17:57:35 +0000 |
commit | 05251458e7cd4ed651a6f504eb13432daa0fc67f (patch) | |
tree | dc1d81aa01fd433a89bee9078661ce81b6099cf6 /devel/picprog/files | |
parent | 306b3568993e9353eeaabba997fa3c7e2010bd96 (diff) | |
download | ports-05251458e7cd4ed651a6f504eb13432daa0fc67f.tar.gz ports-05251458e7cd4ed651a6f504eb13432daa0fc67f.zip |
Notes
Diffstat (limited to 'devel/picprog/files')
-rw-r--r-- | devel/picprog/files/patch-Makefile | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/devel/picprog/files/patch-Makefile b/devel/picprog/files/patch-Makefile index 36424d732611..29adc16ed361 100644 --- a/devel/picprog/files/patch-Makefile +++ b/devel/picprog/files/patch-Makefile @@ -1,15 +1,34 @@ ---- Makefile.orig Thu Feb 7 21:33:59 2002 -+++ Makefile Tue Nov 19 12:55:52 2002 -@@ -26,9 +26,9 @@ +--- Makefile.orig Thu Feb 7 13:33:59 2002 ++++ Makefile Tue Apr 29 02:57:00 2003 +@@ -26,10 +26,6 @@ # Please use a reasonably recent GNU make. -CXX=g++ -CXXFLAGS=-g -O2 -Wall -W -Wwrite-strings -Wmissing-prototypes -LDFLAGS= -+CXX?=g++ -+CXXFLAGS=-g -O2 -Wall -W -Wwrite-strings -Wmissing-prototypes -I/usr/local/include -+LDFLAGS= -L/usr/local/lib -lgnugetopt - +- OBJS=main.o picport.o hexfile.o program.o PROG=picprog + +@@ -38,6 +34,9 @@ + $(PROG): $(OBJS) + $(CXX) $(LDFLAGS) $(OBJS) -o $@ + ++.cc.o: ++ $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $> ++ + dep: + $(CXX) -M $(CXXFLAGS) *.cc > .depend + +@@ -55,10 +54,3 @@ + install: all + install -c -o 0 -g 0 -m 755 $(PROG) /usr/local/bin/ + install -c -o 0 -g 0 -m 644 *.1 /usr/local/man/man1/ +- +-# +-# include a dependency file if one exists +-# +-ifeq (.depend,$(wildcard .depend)) +-include .depend +-endif |