# Makefile for rtspect
#
# (Note : this is a very poor makefile!)
#

# OS = BSD
OS = SYSV
CC= cc
# CFLAGS= -c -g -D$(OS)
CFLAGS= -c -O -float -g0 -D$(OS)
LDFLAGS= -lgl_s -g0 -laudio -lm -o
.SUFFIXES: .o .c

TARGETS = rtspect
all: $(TARGETS)

.c.o:
	$(CC) $(CFLAGS) $<

rtspect: main.o power.o
	$(CC) main.o power.o $(LDFLAGS) rtspect
	strip rtspect

power.o:     fft.h

veryclean:
	/bin/rm -f *.o core $(TARGETS) *.uue

clean:
	/bin/rm -f *.o core 
