Makefile 486 Bytes
CFLAGS = -g
#        CFLAGS = -O2 -mips2 -sopt
#        CFLAGS = -O2 -mips2
#        CFLAGS = -O2 
#        CFLAGS = -O3 -non_shared
#        CFLAGS = -g
TARGETS = resample
LDFLAGS = -lm
COMPILER_ARGS = ${CFLAGS}
LOADER_ARGS = ${LDFLAGS}

default: $(TARGETS)

HALverb: resample.o 
	$(CC) ${CFLAGS} resample.o -o resample ${LOADER_ARGS}


# Dependencies

resample.o:	sinc.h resample.c

# Rules
.c.o:
	$(CC) -c ${PROFILE} ${COMPILER_ARGS} $<

clean:
	rm -f a.out core *.u *.o *~ resample