2002-06-21 12:46:52 +00:00
|
|
|
#
|
|
|
|
# makefile for the TGI graphics kernel
|
|
|
|
#
|
|
|
|
|
|
|
|
.SUFFIXES: .o .s .c
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
@$(CC) $(CFLAGS) $<
|
|
|
|
@$(AS) -g -o $@ $(AFLAGS) $(*).s
|
|
|
|
|
|
|
|
%.o: %.s
|
|
|
|
@$(AS) -g -o $@ $(AFLAGS) $<
|
|
|
|
|
|
|
|
C_OBJS =
|
|
|
|
|
|
|
|
S_OBJS = tgi-kernel.o \
|
2002-06-21 14:16:32 +00:00
|
|
|
tgi_bar.o \
|
2002-06-21 13:39:32 +00:00
|
|
|
tgi_circle.o \
|
|
|
|
tgi_clear.o \
|
2002-06-21 13:28:51 +00:00
|
|
|
tgi_done.o \
|
2002-06-21 12:46:52 +00:00
|
|
|
tgi_geterror.o \
|
|
|
|
tgi_getmaxx.o \
|
|
|
|
tgi_getmaxy.o \
|
2002-06-21 14:16:32 +00:00
|
|
|
tgi_getpixel.o \
|
2002-06-21 12:46:52 +00:00
|
|
|
tgi_getxres.o \
|
|
|
|
tgi_getyres.o \
|
2002-06-21 13:28:51 +00:00
|
|
|
tgi_init.o \
|
2002-06-21 13:39:32 +00:00
|
|
|
tgi_line.o \
|
2002-06-21 13:28:51 +00:00
|
|
|
tgi_map_mode.o \
|
2002-06-21 14:16:32 +00:00
|
|
|
tgi_setcolor.o \
|
|
|
|
tgi_setpixel.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)
|
|
|
|
|