speedcat/Makefile
Slendi 464532d9fe Replace shell script with makefile
Signed-off-by: Slendi <slendi@socopon.com>
2024-04-19 01:32:09 +03:00

7 lines
345 B
Makefile

LLVMC=llvm-config
LLVM_LINKER=-lc++ $(shell ${LLVMC} --libs core --cxxflags --ldflags --system-libs|tr '\n' ' ')
all:
odin run src -o:none -debug -out:speedcat -extra-linker-flags:"${LLVM_LINKER}" -- pong.cat && \
clang -I/opt/local/include -L/opt/local/lib -lraylib -lm -framework Cocoa -framework OpenGL -framework IOKit pong.ll -o raylib