usb_mass compilation and makefile

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
weltall
Posts: 310
Joined: Fri Feb 20, 2004 1:56 am
Contact:

usb_mass compilation and makefile

Post 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
Post Reply