diff options
Diffstat (limited to 'dsp/Makefile')
-rw-r--r-- | dsp/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dsp/Makefile b/dsp/Makefile new file mode 100644 index 0000000..2828921 --- /dev/null +++ b/dsp/Makefile @@ -0,0 +1,27 @@ +CL6X := $(DSP_CGT)/bin/cl6x +LNK6X := $(DSP_CGT)/bin/lnk6x +DLLCREATE := $(DSP_DOFFBUILD)/bin/DLLcreate + +CFLAGS := -O3 -I$(DSP_CGT)/include +OBJECTS := bridge.o64P threshold.o64P + +all: threshold.dll64P + +threshold.x64P: $(OBJECTS) + +# pretty print +%.o64P: %.s + $(CL6X) $(CFLAGS) -mv=64p -eo.o64P -c $< + +%.o64P: %.c + $(CL6X) $(CFLAGS) -mv=64p -eo.o64P -c $< + +%.x64P: + $(LNK6X) -r -cr --localize='$$bss' -o $@ $+ + +%.dll64P: %.x64P + $(DLLCREATE) $< -o=$@ + +clean: + $(RM) *.o64P *.x64P *.dll64P + |