1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
cc65/libsrc/tgi/Makefile
cuz 7f12a14e12 Removed emulation for BAR
git-svn-id: svn://svn.cc65.org/cc65/trunk@2605 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 17:39:00 +00:00

73 lines
2.1 KiB
Makefile

#
# Makefile for the TGI graphics kernel
#
.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_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 \
tgi_getyres.o \
tgi_gotoxy.o \
tgi_init.o \
tgi_line.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_setviewpage.o \
tgi_textsize.o \
tgi_textstyle.o \
tgi_unload.o
#--------------------------------------------------------------------------
# Targets
.PHONY: all clean zap
all: $(C_OBJS) $(S_OBJS)
clean:
@$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
zap: clean