repl.it
polygott

No description

fork
loading
Files
  • Makefile
  • img
  • exec
  • main
  • main.cpp
  • nohup.out
  • olcConsoleGameEngine.h
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
.PHONY: run

run:
	install-pkg libsdl2-dev
	install-pkg libsdl2-image-dev
	killall polygott-x11-vnc || true
	clang++ -g -std=c++17 -lX11 -lSDL2 -lSDL2main -lSDL2_image -lpthread -I/home/runner/.apt/usr/include/SDL2 -DUNICODE *.cpp -o exec
	polygott-x11-vnc
	DISPLAY=:0
	g++ main.cpp
	chmod 744 /home/runner/exec
	/home/runner/exec
?