fox32/Makefile

17 lines
303 B
Makefile
Raw Normal View History

2022-10-23 03:00:51 +02:00
SDL2_CONFIG = sdl2-config
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 \
src/bus.c \
2022-10-23 03:00:51 +02:00
src/cpu.c \
src/framebuffer.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:
rm -rf fox32