summaryrefslogtreecommitdiff
path: root/mbone/sdr/files/Makefile.netbsd
blob: ff4285df4149cc112d5119d0ca23af25ca7b9601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# $NetBSD: Makefile.netbsd,v 1.3 1998/09/13 18:02:10 garbled Exp $
#
CC=cc
INCLUDES=-I${LOCALBASE}/include/tk8.0 -I${LOCALBASE}/include/tcl8.0 -I${X11BASE}/include
LIB_DIR=${LOCALBASE}/lib
LIBS= ${LDFLAGS} -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