-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·14 lines (13 loc) · 912 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CEU_DIR = $(error set absolute path to "<ceu>" repository)
CEU_SDL_DIR = $(error set absolute path to "<ceu-sdl>" repository)
game:
ceu --pre --pre-args="-I$(CEU_DIR)/include -I$(CEU_SDL_DIR)/include" \
--pre-input=src/game.ceu \
--ceu --ceu-err-unused=pass --ceu-err-uninitialized=pass \
--ceu-features-thread=true \
--env --env-types=$(CEU_DIR)/env/types.h \
--env-threads=$(CEU_DIR)/env/threads.h \
--env-main=$(CEU_DIR)/env/main.c \
--cc --cc-args="-lm -llua5.3 -lpthread -lSDL2 -lSDL2_image -lSDL2_mixer -lSDL2_ttf -lSDL2_gfx" \
--cc-output=/tmp/game.ceu; \
/tmp/game.ceu; \