aboutsummaryrefslogtreecommitdiff
path: root/misc/zaptel/files/patch-test::Makefile
blob: 348b1ffce31b29c22fc13484897901423d6a197d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

$FreeBSD$

--- test/Makefile.orig	Wed Apr 28 04:27:36 2004
+++ test/Makefile	Thu Apr 29 18:00:11 2004
@@ -1,10 +1,10 @@
 # $Id: Makefile,v 1.1 2004/04/28 11:27:36 gonzo Exp $ 
-CFLAGS += -I/usr/local/include -I../zaptel -I../ztcfg
+CFLAGS+= -I${.CURDIR}/../zaptel -I${.CURDIR}/../ztcfg -I${LOCALBASE}/include
 
 all: zttool fxo_test 
 
 fxo_test: fxo_test.o
-	gcc -o fxo_test fxo_test.o -ltonezone -L../ztcfg
+	${CC} -o fxo_test fxo_test.o -L${.CURDIR}/../ztcfg -ltonezone
 
 zttool: zttool.o
-	gcc -o zttool zttool.o -ltonezone -L/usr/local/lib -lnewt -L../ztcfg
+	${CC} -o zttool zttool.o -L${.CURDIR}/../ztcfg -ltonezone -L${LOCALBASE}/lib -lnewt