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
