## Makefile for nistcl
##
## $Id: Makefile,v 1.2 1994/04/19 17:27:39 mwette Exp $
##

prefix=..
bindir=$(prefix)/bin

CC= gcc
CFLAGS= -g -I/usr/local/include -Dnis_tcl_init=Tcl_AppInit \
	-DNIS_LIBRARY=\"/home/mr-ed/mwette/proj/tcl/nis/library\"
LDFLAGS= -g
TCLIBS= \
	-L/usr/local/lib -R/usr/local/lib -ltcl \
	-lm -lnsl
TKLIBS = \
	-L/usr/local/lib -R/usr/local/lib -ltk -ltcl \
	-L/opt/X11/lib -R/opt/X11/lib -lX11 -lsocket \
	-lm -lnsl

all: nistcl nistk

nistcl: nistcl.o
	$(CC) -o nistcl $(LDFLAGS) nistcl.o $(TCLIBS)

nistk: nistcl.o
	$(CC) -o nistk  $(LDFLAGS) nistcl.o $(TKLIBS)

# --- last line of Makefile ---
