blob: 3cb29fcf93c66247599fb43282a664ce2f1983ef (
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) -DNORANDPROTO -DUSE_PERROR -Werror
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
|