$NetBSD: patch-ah,v 1.2 2013/03/31 08:31:49 sbd Exp $ --- rtunes/GNUmakefile.orig 2006-05-06 14:02:13.000000000 +0000 +++ rtunes/GNUmakefile @@ -2,31 +2,32 @@ CCFLAGS = -O2 -pipe -Wall -Wstrict-prototypes -c +CCFLAGS += ${CFLAGS} ${LDFLAGS} rtunes: rtunes.o cipher.o mp4.o rtsp.o sys.o parse.o scan.o - cc -L../libbsd -o rtunes rtunes.o cipher.o mp4.o rtsp.o sys.o parse.o scan.o -lbsd -lcrypto + ${CC} ${CFLAGS} ${LDFLAGS} -L../libbsd -o rtunes rtunes.o cipher.o mp4.o rtsp.o sys.o parse.o scan.o -lbsd -lcrypto strip rtunes rtunes.o: rtunes.c - cc ${CCFLAGS} rtunes.c + ${CC} ${CCFLAGS} rtunes.c cipher.o: cipher.c - cc ${CCFLAGS} cipher.c + ${CC} ${CCFLAGS} cipher.c mp4.o: mp4.c - cc ${CCFLAGS} mp4.c + ${CC} ${CCFLAGS} mp4.c rtsp.o: rtsp.c - cc ${CCFLAGS} rtsp.c + ${CC} ${CCFLAGS} rtsp.c sys.o: sys.c - cc ${CCFLAGS} sys.c + ${CC} ${CCFLAGS} sys.c parse.o: parse.y yacc -d parse.y - cc ${CCFLAGS} -o parse.o y.tab.c + ${CC} ${CCFLAGS} -o parse.o y.tab.c scan.o: scan.l lex scan.l - cc ${CCFLAGS} -o scan.o lex.yy.c + ${CC} ${CCFLAGS} -o scan.o lex.yy.c clean: