#								SCOT makef
# macros defined in toplevel csound/Makefile
#	CFLAGS INCLUDE LIB DEST

T = ../..

OBJS =  main.o $T/scot.o $T/getstring.o

scots:  scot

scot:	$(OBJS)
	$(CC) -o scot $(OBJS)

main.o:		main.c
	$(CC) $(CFLAGS) -I $T -c main.c

install:	scot
		-strip scot
		-rm -f $(DEST)/scot
		cp scot $(DEST)

clean:
		-rm scot *.o *.u

rmbak:
		-rm *.bak *~
