all:
	cc -o gencos gencos.c -lm
	cc -o 44.1to48 -DUPCONVERT resample.c
	cc -o 48to44.1             resample.c
	xlf -o fft fft.f
	xlf -o resp resp.f
	cc -o full full.c -lm
	./gencos 1500     0 48000 >dc
	./gencos 1500 23000 48000 >23000at48
	./gencos 1500 11025 48000 >11025at48
	./gencos 1500 12000 48000 >12000at48
	./gencos 1500   689.0625  48000 >689at48
	./gencos 1500   750 44100 >750at44.1
	./full >full_height
clean:
	rm -f 11025at48
	rm -f 12000at48
	rm -f 23000at48
	rm -f 44.1to48
	rm -f 441at48
	rm -f 48to44.1
	rm -f 689at48
	rm -f 750at44.1
	rm -f 750at48
	rm -f dc
	rm -f fft
	rm -f full
	rm -f full_height
	rm -f gencos
	rm -r resp
	rm -f tmp
