mirror of
https://github.com/libretro/oberon-risc-emu.git
synced 2024-12-04 23:16:43 +00:00
17 lines
291 B
Makefile
17 lines
291 B
Makefile
|
|
CFLAGS = -g -Os -Wall -Wextra
|
|
|
|
RISC_CFLAGS = $(CFLAGS) -std=c99 `sdl2-config --cflags --libs`
|
|
|
|
RISC_SOURCE = \
|
|
sdl-main.c \
|
|
sdl-ps2.c sdl-ps2.h \
|
|
risc.c risc.h risc-boot.inc \
|
|
risc-sd.c risc-sd.h
|
|
|
|
risc: $(RISC_SOURCE)
|
|
$(CC) -o $@ $(filter %.c, $^) $(RISC_CFLAGS)
|
|
|
|
clean:
|
|
rm -f risc
|