Page 1 of 1

usb_mass compilation and makefile

Posted: Sun Jan 02, 2005 7:52 pm
by weltall
i have a question why usb_mass has these things on the makefile?

Code: Select all

# A rule to build imports.lst.
%.o : %.lst
	echo "#include \"irx_imports.h\"" > build-imports.c
	cat $< >> build-imports.c
	$&#40;IOP_CC&#41; $&#40;IOP_CFLAGS&#41; build-imports.c -o $@
	-rm -f build-imports.c
whit these i get error in the first line of build-imports.c
i resolved like this

Code: Select all

# A rule to build imports.lst.
%.o &#58; %.lst
	echo #include "irx_imports.h" > build-imports.c
	cat $< >> build-imports.c
	$&#40;IOP_CC&#41; $&#40;IOP_CFLAGS&#41; build-imports.c -o $@
	-rm -f build-imports.c
also i noticed it's not updated the version statement showed on load time i downloaded all the sources from the cvs and when i load it i get:
usb_mass: version 0.22