fox32/Makefile
Ry 53cbc0d96c Implement overlays
Co-authored-by: Lua MacDougall <lua@foxgirl.dev>
2022-10-23 13:16:40 -07:00

16 lines
288 B
Makefile

SDL2_CONFIG = sdl2-config
CFLAGS = -g -Ofast -std=c99 -Wall -Wextra `$(SDL2_CONFIG) --cflags --libs`
TARGET=fox32
CFILES = src/main.c \
src/bus.c \
src/cpu.c \
src/framebuffer.c \
src/screen.c
$(TARGET): $(CFILES)
$(CC) -o $@ $(filter %.c, $^) $(CFLAGS)
clean:
rm -rf fox32*