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