2022-10-23 03:00:51 +02:00
|
|
|
SDL2_CONFIG = sdl2-config
|
2022-10-23 22:16:40 +02:00
|
|
|
CFLAGS = -g -Ofast -std=c99 -Wall -Wextra `$(SDL2_CONFIG) --cflags --libs`
|
2022-10-23 03:00:51 +02:00
|
|
|
TARGET=fox32
|
|
|
|
|
|
|
|
CFILES = src/main.c \
|
2022-10-23 22:16:40 +02:00
|
|
|
src/bus.c \
|
2022-10-23 03:00:51 +02:00
|
|
|
src/cpu.c \
|
2022-10-24 07:36:24 +02:00
|
|
|
src/disk.c \
|
2022-10-23 03:00:51 +02:00
|
|
|
src/framebuffer.c \
|
2022-10-25 02:48:51 +02:00
|
|
|
src/keyboard.c \
|
2022-10-26 07:44:18 +02:00
|
|
|
src/mmu.c \
|
2022-10-24 02:18:05 +02:00
|
|
|
src/mouse.c \
|
2022-10-23 03:00:51 +02:00
|
|
|
src/screen.c
|
|
|
|
|
|
|
|
$(TARGET): $(CFILES)
|
|
|
|
$(CC) -o $@ $(filter %.c, $^) $(CFLAGS)
|
|
|
|
|
|
|
|
clean:
|
2022-10-24 05:57:30 +02:00
|
|
|
rm -rf fox32
|