Created
March 5, 2018 18:33
-
-
Save gyuque/27a6e0fc4501bb2c981312b6dd1a57c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PRODUCT = RasterTest | |
ASMSOURCES = RasterTest.asm \ | |
MainScreen.asm \ | |
Video.asm \ | |
DynSprite.asm \ | |
initreg.asm | |
#------------------------------------------------------------------------------- | |
CL65 = ../cc65/bin/cl65.exe | |
LD65 = ../cc65/bin/ld65.exe | |
OBJECTS = $(addprefix objs/,$(notdir $(ASMSOURCES:.asm=.o))) | |
LIBRARIES = | |
#------------------------------------------------------------------------------- | |
all : $(OBJECTS) $(LIBRARIES) | |
$(LD65) -o $(PRODUCT).smc --config $(PRODUCT).cfg --obj $(OBJECTS) | |
.SUFFIXES : .asm .o | |
objs/%.o : %.asm | |
$(CL65) -t none -o objs/$*.o -c $*.asm | |
clean : | |
rm -f objs/*.o | |
rm -f *.smc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment