find_package(SDL2_mixer REQUIRED)
include_directories(src/)
-include_directories(${SDL2_INCLUDE_DIR})
+
+if(APPLE)
+ include_directories(${SDL2_INCLUDE_DIR}/..)
+else()
+ include_directories(${SDL2_INCLUDE_DIR})
+endif()
+
include_directories(${SDL2_MIXER_INCLUDE_DIR})
add_executable(nothing
src/game/level/script.c
src/system/log.h
src/system/log.c
+ src/system/log_script.h
+ src/system/log_script.c
src/system/nth_alloc.h
src/system/nth_alloc.c
src/game/level_script.c
src/game/level_script.h
+ src/ebisp/std.h
+ src/ebisp/std.c
)
add_executable(repl
src/system/log.c
src/system/nth_alloc.h
src/system/nth_alloc.c
+ src/ebisp/repl_runtime.h
+ src/ebisp/repl_runtime.c
+ src/ebisp/std.h
+ src/ebisp/std.c
)
add_executable(nothing_test
src/ebisp/builtins.c