Initial commit
This commit is contained in:
13
build.sh
Executable file
13
build.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
mkdir -p build
|
||||
pushd build
|
||||
rm -rf *
|
||||
|
||||
# Plugin library
|
||||
c++ -Wall -std=c++11 -c -fpic -g ../code/rt_weekend.cpp -o librt_weekend.o
|
||||
c++ -shared -o librt_weekend.so librt_weekend.o
|
||||
rm librt_weekend.o
|
||||
|
||||
# Platform layer host application
|
||||
c++ -Wall -std=c++11 -g ../code/platform.cpp -o platform `sdl2-config --libs --cflags`
|
||||
popd
|
||||
Reference in New Issue
Block a user