#
# FILE: Makefile
#   BY: Christopher Lee Fraley.  (cf0v@spice.cs.cmu.edu)
# DESC: This file builds a utility for generating XLISP 2.0 C-code interfaces
#
# 1.0 (12-SEP-88) - imported. (cf0v)
# 2.0 (28-SEP-88) - nuked old verion by Dale Amon. (cf0v)
#

CFLAGS = -g

# Directory info:
BINPATH = .

# Intgen stuff:
intgen: cmdline.o intgen.o
	cc cmdline.o intgen.o -o $(BINPATH)/intgen

cmdline.o: cext.h cmdline.h
intgen.o: cext.h cmdline.h

#sampleprint - dumb but useful
sampleprint: sampleprint.o
	cc sampleprint.o -o $(BINPATH)/sampleprint

sampleprint.o: sampleprint.c

#sine
sne: sne.o
	cc sne.o -o $(BINPATH)/sne

sne.o: sne.c

#play
play: play.o
	cc play.o -o $(BINPATH)/play

play.o: play.c

#plot
plot: plot.o
	cc plot.o -o $(BINPATH)/plot

plot.o: plot.c


clean:
	rm -f *.o

cleaner: clean
	rm -f intgen play sine plot
	rm -f *.BAK
	rm -f *~
