freebsd-ports/devel/picp/files/patch-Makefile
Simon Barner 05f6fa2a02 - Update to 0.6.7 [1]
- Respect CXX, CXXFLAGS, STRIP
- Pass maintainership to submitter [1]

Submitted by:	Soeren Straarup <xride@x12.dk> [1]
PR:		ports/86626 [1]
2005-09-27 12:17:18 +00:00

23 lines
499 B
Text

--- Makefile.orig Tue Sep 27 14:14:43 2005
+++ Makefile Tue Sep 27 14:15:30 2005
@@ -3,10 +3,10 @@
# PIC programmer interface
#
-CC=gcc
+CC=${CXX}
APP=picp
INCLUDES=-I.
-OPTIONS=-O2 -Wall -x c++
+OPTIONS=${CXXFLAGS} -Wall
CFLAGS=$(INCLUDES) $(OPTIONS)
SRCS=main.c serial.c picdev.c record.c parse.c atoi_base.c
OBJECTS = main.o serial.o picdev.o record.o parse.o atoi_base.o
@@ -20,7 +20,6 @@
$(APP): $(OBJECTS)
$(CC) $(OBJECTS) -lstdc++ -o $(APP)
- strip $(APP)
clean:
rm -f *.o