2002-06-21 12:46:52 +00:00
|
|
|
#
|
2002-06-21 16:25:56 +00:00
|
|
|
# Makefile for the TGI graphics kernel
|
2002-06-21 12:46:52 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
.SUFFIXES: .o .s .c
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
@$(CC) $(CFLAGS) $<
|
|
|
|
@$(AS) -g -o $@ $(AFLAGS) $(*).s
|
|
|
|
|
|
|
|
%.o: %.s
|
|
|
|
@$(AS) -g -o $@ $(AFLAGS) $<
|
|
|
|
|
2002-06-21 16:25:56 +00:00
|
|
|
C_OBJS = tgi_load.o
|
2002-06-21 12:46:52 +00:00
|
|
|
|
2002-06-22 13:10:02 +00:00
|
|
|
S_OBJS = tgi-kernel.o \
|
|
|
|
tgi_bar.o \
|
|
|
|
tgi_circle.o \
|
|
|
|
tgi_clear.o \
|
2002-10-03 11:18:23 +00:00
|
|
|
tgi_curtoxy.o \
|
2002-06-22 13:10:02 +00:00
|
|
|
tgi_done.o \
|
|
|
|
tgi_emu_bar.o \
|
2002-06-22 21:40:24 +00:00
|
|
|
tgi_getcolor.o \
|
2002-06-22 13:10:02 +00:00
|
|
|
tgi_getcolorcount.o \
|
2002-07-07 10:30:31 +00:00
|
|
|
tgi_getdefpalette.o \
|
2002-06-22 13:10:02 +00:00
|
|
|
tgi_geterror.o \
|
|
|
|
tgi_getmaxcolor.o \
|
|
|
|
tgi_getmaxx.o \
|
|
|
|
tgi_getmaxy.o \
|
2002-07-07 10:30:31 +00:00
|
|
|
tgi_getpagecount.o \
|
|
|
|
tgi_getpalette.o \
|
2002-06-22 13:10:02 +00:00
|
|
|
tgi_getpixel.o \
|
2002-06-22 21:40:24 +00:00
|
|
|
tgi_getset.o \
|
2002-06-22 13:10:02 +00:00
|
|
|
tgi_getxres.o \
|
|
|
|
tgi_getyres.o \
|
2002-06-22 21:53:58 +00:00
|
|
|
tgi_gotoxy.o \
|
2002-06-22 13:10:02 +00:00
|
|
|
tgi_init.o \
|
|
|
|
tgi_line.o \
|
2002-06-22 21:40:24 +00:00
|
|
|
tgi_linepop.o \
|
|
|
|
tgi_lineto.o \
|
2002-06-22 13:10:02 +00:00
|
|
|
tgi_map_mode.o \
|
2002-10-03 11:18:23 +00:00
|
|
|
tgi_outtext.o \
|
|
|
|
tgi_outtextxy.o \
|
|
|
|
tgi_popxy.o \
|
|
|
|
tgi_popxy2.o \
|
2002-06-22 13:10:02 +00:00
|
|
|
tgi_setcolor.o \
|
|
|
|
tgi_setdrawpage.o \
|
2002-07-07 10:30:31 +00:00
|
|
|
tgi_setpalette.o \
|
2002-06-22 13:10:02 +00:00
|
|
|
tgi_setpixel.o \
|
|
|
|
tgi_setdrawpage.o \
|
2002-10-03 11:18:23 +00:00
|
|
|
tgi_textsize.o \
|
|
|
|
tgi_textstyle.o \
|
2002-06-21 13:28:51 +00:00
|
|
|
tgi_unload.o
|
2002-06-21 12:46:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
all: $(C_OBJS) $(S_OBJS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@rm -f *~
|
|
|
|
@rm -f $(C_OBJS:.o=.s)
|
|
|
|
@rm -f $(C_OBJS)
|
|
|
|
@rm -f $(S_OBJS)
|
|
|
|
|
2002-10-03 11:18:23 +00:00
|
|
|
|