Initial commit

This commit is contained in:
Michael Smith
2019-01-14 09:42:23 +01:00
committed by Michael Smith
commit e867778b4c
11 changed files with 1263 additions and 0 deletions

13
build.sh Executable file
View 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