Mercurial > hg > Members > kono > nitros9-code
changeset 2963:2d4ab61e1131
pacos9: Make disk image
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Mon, 10 Feb 2014 00:36:16 +0100 |
parents | 1e0ca35dcee0 |
children | 6f7dec3a68f0 |
files | 3rdparty/packages/pacos9/makefile |
diffstat | 1 files changed, 22 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/3rdparty/packages/pacos9/makefile Sun Feb 09 23:46:50 2014 +0100 +++ b/3rdparty/packages/pacos9/makefile Mon Feb 10 00:36:16 2014 +0100 @@ -1,12 +1,30 @@ include $(NITROS9DIR)/rules.mak +TARGET = pacos9 OBJS = main90.o board90.o caged90.o check90.o ghosts90.o movpac90.o \ score90.o scrns90.o setup90.o +LFLAGS += -L$(NITROS9DIR)/lib -lnos96809l2 -pacos9: $(OBJS) - $(LINKER) $^ -opacos9 -L$(NITROS9DIR)/lib -lnos96809l2 +DSK = $(TARGET).dsk + +$(TARGET): $(OBJS) + $(LINKER) $(LFLAGS) $^ -o$@ -clean: - $(RM) $(OBJS) pacos9 +dsk: $(TARGET) + $(OS9FORMAT) -q $(DSK) -n"Larry Olson's Pacos9" + $(MAKDIR) $(DSK),CMDS + $(OS9COPY) $(TARGET) $(DSK),CMDS + $(OS9ATTR) -e $(DSK),CMDS/$(TARGET) + +dskcopy: + $(CP) $(DSK) $(DSKDIR) + +dskclean: + $(RM) $(DSK) + +clean: dskclean + $(RM) $(OBJS) $(TARGET) info: + @echo "*** Larry Olson's Pacos9 game ***" + @echo $(DSK)