mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-11-05 00:04:46 +00:00
36 lines
492 B
Makefile
36 lines
492 B
Makefile
AS=ca65
|
|
LD=ld65
|
|
AFLAGS=
|
|
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) $<
|
|
|
|
%.o: %.s
|
|
$(AS) $(AFLAGS) $<
|
|
|
|
|
|
DRIVERS=\
|
|
apple2prog.lib \
|
|
c64prog.lib \
|
|
c64nb65.lib \
|
|
|
|
all: $(DRIVERS)
|
|
|
|
|
|
apple2prog.lib: a2print.o uthernet.o a2timer.o a2kernal.o a2input.o
|
|
ar65 a $@ $^
|
|
|
|
c64prog.lib: c64print.o rr-net.o c64timer.o c64kernal.o c64inputs.o
|
|
ar65 a $@ $^
|
|
|
|
c64nb65.lib: c64print.o rr-net.o c64timer_nb65.o c64kernal.o c64inputs.o
|
|
ar65 a $@ $^
|
|
|
|
clean:
|
|
rm -f *.o
|
|
rm -f *.lib
|
|
|
|
distclean: clean
|
|
rm -f *~
|