view 3rdparty/packages/coyota/makefile @ 3054:22ddd48b4ec2

level1 krn: Fix scheduler bug that only affected 6309 The original 6809 binary was correct, but it was disassembled and interpreted wrongly, so that reassembly went wrong on 6309.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 25 Jan 2015 22:36:02 +0100
parents 13885d9433d5
children
line wrap: on
line source

include $(NITROS9DIR)/rules.mak

TARGET	= coyota
OBJS	= coyota.o instrument.o dashboard.o bin_dec32.o
LFLAGS	+= -lalib -lnos96809l2 -L$(NOSLIB)
DSK	= $(TARGET).dsk

$(TARGET): $(OBJS)

dsk: $(DSK)

$(DSK): $(TARGET)
	$(RM) $@
	$(OS9FORMAT) -q $@ -n"Coyota"
	$(MAKDIR) $@,CMDS
	$(OS9COPY) $(TARGET) $@,CMDS
	$(OS9ATTR_EXEC) $@,CMDS/$(TARGET)

dskclean:
	$(RM) $(DSK)

clean: dskclean
	$(RM) $(OBJS) $(TARGET)