Clean all files, including libgram files, when running
make clean
ASFLAGS = $(CFLAGS)
LDFLAGS = -T powerpc.lds
-all: coldboot.hex
+all: coldboot.hex coldboot.S
console.o: ../lib/console.c
$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
../scripts/bin2hex.py $^ > $@
powerpc64le-linux-gnu-objdump -D coldboot.elf > coldboot.as
+coldboot.S: coldboot.elf
+ objdump -S coldboot.elf > coldboot.S
+
clean:
- @rm -f *.o coldboot.elf coldboot.bin coldboot.hex coldboot.as powerpc.lds
+ @rm -f ../lib/*.o ../libgram/src/*.o *.o coldboot.elf coldboot.bin coldboot.hex coldboot.as coldboot.S powerpc.lds
distclean: clean
rm -f *~