############################################################################### # Rule to assemble and link all assembly files ############################################################################### build: ca65 loadbackground.asm -o loadbackground.o ld65 -C nes.cfg loadbackground.o -o loadbackground.nes ############################################################################### # Rule to remove all object (.o) files and cartridge (.nes) files ############################################################################### clean: rm *.o *.nes ############################################################################### # Rule to run the final cartridge .nes file in the FCEUX emulator ############################################################################### run: on-workspace 1 "fceux loadbackground.nes"