27 lines
558 B
Makefile
27 lines
558 B
Makefile
# Makefile for the EmuTOS to BaS_gcc SD-card "driver connector"
|
|
#
|
|
# The driver actually resides within BaS_gcc. All we need to do within the AUTO-folder program is to find the driver
|
|
# entry point and put its address into the respective cookie
|
|
|
|
TOOLCHAIN_PREFIX=m68k-atari-mint-
|
|
CC=$(TOOLCHAIN_PREFIX)gcc
|
|
|
|
CFLAGS=-mcpu=5475 \
|
|
-Wno-multichar\
|
|
-Wall
|
|
EMUSD=emusd
|
|
APP=$(EMUSD).prg
|
|
|
|
all: $(APP)
|
|
|
|
SOURCES=$(EMUSD).c \
|
|
cookie.c \
|
|
xhdi.c
|
|
|
|
OBJECTS=$(SOURCES:.c=.o)
|
|
|
|
$(APP): $(OBJECTS)
|
|
$(CC) $(CFLAGS) $(OBJECTS) -o $(APP)
|
|
|
|
.PHONY clean:
|
|
- rm -rf *.o $(APP)
|