mirror of
https://github.com/FunKey-Project/FunKey-ProdScreens.git
synced 2026-01-26 17:44:44 +01:00
29 lines
515 B
Makefile
29 lines
515 B
Makefile
# Files
|
|
S_FILES=funkey_prod_screens.c \
|
|
prodScreen_failScreen.c \
|
|
prodScreen_waitBattery.c \
|
|
prodScreen_displayTest.c \
|
|
prodScreen_buttonsTest.c \
|
|
prodScreen_speakerTest.c \
|
|
prodScreen_ledTest.c \
|
|
prodScreen_magnetTest.c \
|
|
prodScreen_validation.c
|
|
|
|
# Output
|
|
EXEC=funkey_prod_screens
|
|
|
|
# Build settings
|
|
CC=gcc
|
|
# SDL options
|
|
CC_SDL=-lSDL -lSDL_image -lSDL_ttf `sdl-config --cflags --libs`
|
|
# Other options
|
|
CFLAGS=-O3 -std=c99 -Wall
|
|
|
|
|
|
all:Build
|
|
|
|
Build:
|
|
$(CC) $(S_FILES) -o $(EXEC) $(CC_SDL) $(CFLAGS)
|
|
|
|
clean:
|
|
rm $(EXEC)
|