view 3rdparty/packages/coyota/makefile @ 2967:1c81c87c77d4

makefiles: Use OS9ATTR_EXEC macro when possible
author Tormod Volden <debian.tormod@gmail.com>
date Fri, 04 Apr 2014 21:33:01 +0200
parents 8450cdb44df7
children 13885d9433d5
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: $(TARGET)
	$(OS9FORMAT) -q $(DSK)
	$(MAKDIR) $(DSK),CMDS
	$(OS9COPY) $(TARGET) $(DSK),CMDS
	$(OS9ATTR_EXEC) $(DSK),CMDS/$(TARGET)
	
dskclean:
	$(RM) $(DSK)

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