layout is done, need to polish up the frontend and emulator options and sort out the mess of input overrides
18 lines
No EOL
654 B
Makefile
18 lines
No EOL
654 B
Makefile
ifeq (,$(CROSS_COMPILE))
|
|
$(error missing CROSS_COMPILE for this toolchain)
|
|
endif
|
|
|
|
TARGET = minarch.elf
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
CFLAGS = -marm -mtune=cortex-a9 -mfpu=neon-vfpv4 -mfloat-abi=hard -march=armv7-a -fomit-frame-pointer
|
|
CFLAGS += -I. -I../common -I./libretro-common/include -DPLATFORM=\"$(UNION_PLATFORM)\" -Ofast
|
|
LDFLAGS = -ldl -lSDL -lSDL_image -lSDL_ttf -lmsettings -lpthread
|
|
#CFLAGS += -Wall -Wno-unused-variable -Wno-unused-function
|
|
# CFLAGS += -fsanitize=address -fno-common
|
|
# LDFLAGS += -lasan
|
|
|
|
all:
|
|
$(CC) main.c ../common/scaler_neon.c ../common/utils.c ../common/api.c -o $(TARGET) $(CFLAGS) $(LDFLAGS)
|
|
clean:
|
|
rm -f $(TARGET)
|