]> git.sur5r.net Git - cc65/blob - libsrc/tgi/Makefile
New module fileio-test.c
[cc65] / libsrc / tgi / Makefile
1 #
2 # Makefile for the TGI graphics kernel
3 #
4
5 .SUFFIXES: .o .s .c
6
7 %.o:    %.c
8         @$(CC) $(CFLAGS) $<
9         @$(AS) -g -o $@ $(AFLAGS) $(*).s
10
11 %.o:    %.s
12         @$(AS) -g -o $@ $(AFLAGS) $<
13
14 C_OBJS =        tgi_load.o
15
16 S_OBJS =        tgi-kernel.o            \
17                 tgi_bar.o               \
18                 tgi_circle.o            \
19                 tgi_clear.o             \
20                 tgi_curtoxy.o           \
21                 tgi_done.o              \
22                 tgi_emu_bar.o           \
23                 tgi_getcolor.o          \
24                 tgi_getcolorcount.o     \
25                 tgi_getdefpalette.o     \
26                 tgi_geterror.o          \
27                 tgi_getmaxcolor.o       \
28                 tgi_getmaxx.o           \
29                 tgi_getmaxy.o           \
30                 tgi_getpagecount.o      \
31                 tgi_getpalette.o        \
32                 tgi_getpixel.o          \
33                 tgi_getset.o            \
34                 tgi_getxres.o           \
35                 tgi_getyres.o           \
36                 tgi_gotoxy.o            \
37                 tgi_init.o              \
38                 tgi_line.o              \
39                 tgi_linepop.o           \
40                 tgi_lineto.o            \
41                 tgi_map_mode.o          \
42                 tgi_outtext.o           \
43                 tgi_outtextxy.o         \
44                 tgi_popxy.o             \
45                 tgi_popxy2.o            \
46                 tgi_setcolor.o          \
47                 tgi_setdrawpage.o       \
48                 tgi_setpalette.o        \
49                 tgi_setpixel.o          \
50                 tgi_setdrawpage.o       \
51                 tgi_textsize.o          \
52                 tgi_textstyle.o         \
53                 tgi_unload.o
54
55
56 all:    $(C_OBJS) $(S_OBJS)
57
58 clean:
59         @rm -f *~
60         @rm -f $(C_OBJS:.o=.s)
61         @rm -f $(C_OBJS)
62         @rm -f $(S_OBJS)
63
64