Matt Harlum 618089c795 cflash speedup
Using the "UNLOCK BYPASS" commands for the flash it takes half as many cycles to program each word

Also bump the task priority and enable compiler optimization
2023-04-18 20:47:21 +00:00

19 lines
313 B
Makefile

PROJECT=cflash
CC=m68k-amigaos-gcc
CFLAGS=-lamiga -mcrt=nix13 -mcpu=68000 -Wall -Wno-pointer-sign -O3 -fomit-frame-pointer
.PHONY: clean all
all: $(PROJECT)
OBJ = kick_flash.o \
ide_flash.o \
config.o \
main.o
SRCS = $(OBJ:%.o=%.c)
cflash: $(SRCS) *.h
${CC} -o $@ $(CFLAGS) $(SRCS)
clean:
-rm $(PROJECT)