1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-28 21:29:04 +00:00
cc65/libsrc/tgi/Makefile

33 lines
503 B
Makefile
Raw Normal View History

#
# 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_geterror.o \
tgi_getmaxx.o \
tgi_getmaxy.o \
tgi_getxres.o \
tgi_getyres.o \
tgi_map_mode.o
all: $(C_OBJS) $(S_OBJS)
clean:
@rm -f *~
@rm -f $(C_OBJS:.o=.s)
@rm -f $(C_OBJS)
@rm -f $(S_OBJS)