...and another Makefile bug: I build as my normal user with make -f make/gcc.mak, but when I try to install it with sudo make -f make/gcc.mak install it starts to recompile the platform libraries: [Spike:~/src/cc65-2.10.0a] pelle% sudo make -f make/gcc.mak install for i in common ar65 ca65 cc65 cl65 co65 da65 grc ld65 od65; do make -C $i -f make/gcc.mak all; done make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. for tgt in apple2 atari atmos c16 c128 c64 cbm510 cbm610 geos nes pet plus4 supervision vic20; do \ make clean "$tgt"lib || exit 1; \ done for i in apple2 common runtime conio dbg em joystick tgi zlib; do \ AS=../../src/ca65/ca65 \ CC=../../src/cc65/cc65 \ LD=../../src/ld65/ld65 \ AFLAGS="-t apple2 -I../../asminc" \ CFLAGS="-Osir -g -T -t apple2 --forget-inc-paths -I. -I../../include" \ make -C $i || exit 1; \ ../src/ar65/ar65 a apple2.lib $i/*.o;\ done make -C ../runtime/ zeropage.o rm apple2-40-40-16.o apple2-280-192-6.o apple2-lc.o apple2-stdjoy.o ar65: Warning: Library `apple2.lib' not found - will be created mv apple2/crt0.o apple2.o cp apple2/apple2-lc.emd a2.lc.emd and so on. Is that for tgt in * make clean really necessary? Kind of annoying to have to build them twice. -- ___ . . . . . + . . o _|___|_ + . + . + . Per Olofsson, arkadspelare o-o . . . o + MagerValp@cling.gu.se - + + . http://www.cling.gu.se/~cl3polof/ ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Wed Feb 18 19:04:44 2004
This archive was generated by hypermail 2.1.8 : 2004-02-18 19:04:50 CET