mirror of
https://github.com/cc65/cc65.git
synced 2025-01-01 03:30:20 +00:00
2614d20153
git-svn-id: svn://svn.cc65.org/cc65/trunk@1313 b7a2c559-68d2-44c3-8de9-860c34a00d81
39 lines
705 B
Makefile
39 lines
705 B
Makefile
#
|
|
# 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 \
|
|
tgi_circle.o \
|
|
tgi_clear.o \
|
|
tgi_done.o \
|
|
tgi_geterror.o \
|
|
tgi_getmaxx.o \
|
|
tgi_getmaxy.o \
|
|
tgi_getxres.o \
|
|
tgi_getyres.o \
|
|
tgi_init.o \
|
|
tgi_line.o \
|
|
tgi_map_mode.o \
|
|
tgi_unload.o
|
|
|
|
|
|
all: $(C_OBJS) $(S_OBJS)
|
|
|
|
clean:
|
|
@rm -f *~
|
|
@rm -f $(C_OBJS:.o=.s)
|
|
@rm -f $(C_OBJS)
|
|
@rm -f $(S_OBJS)
|
|
|