summaryrefslogtreecommitdiff
path: root/mbone/sdr/files/Makefile.freebsd
blob: 1d0735aef06157776c3ccbe1c5ff4e339e2b411d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC=cc
INCLUDES=-I${LOCALBASE}/include/tk8.0 -I${LOCALBASE}/include/tcl8.0 -I${X11BASE}/include
LIB_DIR=${LOCALBASE}/lib
LIBS=-L${LIB_DIR} -ltk80 -ltcl80 -lm -L${X11BASE}/lib -lX11
CFLAGS+=-ggdb $(INCLUDES) -DFREEBSD -DNORANDPROTO -DDEFINED_ERRLIST
LIBRARY_TCL = ${LIB_DIR}/tcl8.0
LIBRARY_TK = ${LIB_DIR}/tk8.0

all:	sdr

install:	sdr
	install -c -s -m 555 -o bin -g bin sdr ${PREFIX}/bin

clean:
	rm *.o *.tcl *.ehtml tcl2c