makefile
697 Bytes
VUSB_FILEPATH= ./
VUSBINC= -I./ -Icommon_include
CC= hcarc
CC_ARGS= "-g -arc8 -Hasopt=-l -Hhostlib= -Hanno"
LINK= nmarc
SYM_DUMP= elfdump
################################################################################
# VUSB 1.1 test.
vusbtest:
$(CC) $(CC_ARGS) -Dbool=char -Dtrue=1 -Dfalse=0 -DBASE_TEST_CODE=0x83000f10 $(VUSBINC) $(VUSB_FILEPATH)APILevelTestCode/*.cpp $(VUSB_FILEPATH)arc_src/*.cpp $(VUSB_FILEPATH)arc_src/*.s
-$(CC) $(CC_ARGS) -Dbool=char -Dtrue=1 -Dfalse=0 -DBASE_TEST_CODE=0x83000f10 -xq -o vusbtest.out -A vusbtest.map *.o
-$(LINK) -qpvxC vusbtest.out > $(VUSB_FILEPATH)vusbtest.sym
-$(SYM_DUMP) -z vusbtest.out > $(VUSB_FILEPATH)vusbtest.dmp
clean:
rm *.o *.lis