changeset 2964:6f7dec3a68f0

pacos9: Make sure dsk image is built for dskcopy
author Tormod Volden <debian.tormod@gmail.com>
date Mon, 10 Feb 2014 01:11:02 +0100
parents 2d4ab61e1131
children 9edca3e61b66
files 3rdparty/packages/pacos9/makefile
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/packages/pacos9/makefile	Mon Feb 10 00:36:16 2014 +0100
+++ b/3rdparty/packages/pacos9/makefile	Mon Feb 10 01:11:02 2014 +0100
@@ -10,14 +10,16 @@
 $(TARGET): $(OBJS)
 	$(LINKER) $(LFLAGS) $^ -o$@
 
-dsk: $(TARGET)
+dsk: $(DSK)
+
+$(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)
+dskcopy: $(DSK)
+	$(CP) $^ $(DSKDIR)
 
 dskclean:
 	$(RM) $(DSK)