Skip to content

humbertodias/docker-allegro-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy

docker-allegro-compiler

How to use

ALLEGRO_VERSION=5.2.9.1
ALLEGRO_PROJECT_PATH="~/my-sdl-project"
ALLEGRO_PROJECT_COMPILER_CMD="g++ main.cpp -o main -g `pkg-config --cflags --static --libs allegro-5`"
docker run -v $ALLEGRO_PROJECT_PATH:/tmp/workdir \
-w /tmp/workdir \
-ti hldtux/allegro-compiler:$ALLEGRO_VERSION-mingw-w64-i686 \
bash -c "$ALLEGRO_PROJECT_COMPILER_CMD"