]> git.sur5r.net Git - cc65/blobdiff - libsrc/tgi/Makefile
implement DEFAULT_DEVICE support
[cc65] / libsrc / tgi / Makefile
index df324661e3a32dde17f0a517c1701315a0e6bf65..9f39c4569a46eb836bef98505eab696d71ffe03e 100644 (file)
@@ -4,6 +4,9 @@
 
 .SUFFIXES: .o .s .c
 
+#--------------------------------------------------------------------------
+# Rules
+
 %.o:           %.c
        @$(CC) $(CFLAGS) $<
        @$(AS) -g -o $@ $(AFLAGS) $(*).s
 %.o:   %.s
        @$(AS) -g -o $@ $(AFLAGS) $<
 
+#--------------------------------------------------------------------------
+# Object files
+
 C_OBJS =        tgi_load.o
 
 S_OBJS =               tgi-kernel.o            \
                 tgi_bar.o               \
                 tgi_circle.o            \
                 tgi_clear.o             \
+                tgi_curtoxy.o           \
                 tgi_done.o              \
-                tgi_emu_bar.o           \
                 tgi_getcolor.o          \
                 tgi_getcolorcount.o     \
+                tgi_getdefpalette.o     \
                 tgi_geterror.o          \
                 tgi_getmaxcolor.o       \
                 tgi_getmaxx.o           \
                 tgi_getmaxy.o           \
+                tgi_getpagecount.o      \
+                tgi_getpalette.o        \
                 tgi_getpixel.o          \
                 tgi_getset.o            \
                 tgi_getxres.o           \
@@ -35,18 +44,29 @@ S_OBJS =            tgi-kernel.o            \
                 tgi_linepop.o           \
                 tgi_lineto.o            \
                        tgi_map_mode.o          \
+                tgi_outtext.o           \
+                tgi_outtextxy.o         \
+                tgi_popxy.o             \
+                tgi_popxy2.o            \
                 tgi_setcolor.o          \
                 tgi_setdrawpage.o       \
+                tgi_setpalette.o        \
                 tgi_setpixel.o          \
-                tgi_setdrawpage.o       \
+                tgi_setviewpage.o       \
+                tgi_textsize.o          \
+                tgi_textstyle.o         \
                 tgi_unload.o
 
 
+#--------------------------------------------------------------------------
+# Targets
+
+.PHONY:        all clean zap
+
 all:   $(C_OBJS) $(S_OBJS)
 
 clean:
-       @rm -f *~
-       @rm -f $(C_OBJS:.o=.s)
-       @rm -f $(C_OBJS)
-       @rm -f $(S_OBJS)
+       @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
+
+zap:   clean