]> git.sur5r.net Git - cc65/blobdiff - libsrc/conio/Makefile
The VIC20 doesn't have PALFLAG (Stefan Haubenthal)
[cc65] / libsrc / conio / Makefile
index 6b2262371523b4244c1ea6759c9838c404716f0b..12c60a27b507f2b03a6a5adc846c649aabf83699 100644 (file)
@@ -4,6 +4,9 @@
 
 .SUFFIXES: .o .s .c
 
+#--------------------------------------------------------------------------
+# Rules
+
 %.o:           %.c
        @$(CC) $(CFLAGS) $<
        @$(AS) -o $@ $(AFLAGS) $(*).s
 %.o:   %.s
        @$(AS) -g -o $@ $(AFLAGS) $<
 
+#--------------------------------------------------------------------------
+# Object files
+
 OBJS = _cursor.o       \
+        cprintf.o      \
        cputhex.o       \
        cputs.o         \
        cursor.o        \
-       scrsize.o
+       scrsize.o       \
+        vcprintf.o
+
+#--------------------------------------------------------------------------
+# Targets
+
+.PHONY:        all clean zap
 
 all:   $(OBJS)
 
 clean:
-       @rm -f *~ $(OBJS)
+       @$(RM) *~ $(OBJS)
+
+zap:   clean
+