diff --git a/examples/allegro5_example/README.md b/examples/allegro5_example/README.md index 9488b9388..a444e5b26 100644 --- a/examples/allegro5_example/README.md +++ b/examples/allegro5_example/README.md @@ -4,7 +4,7 @@ - On Ubuntu 14.04+ ```bash -g++ -I ../imgui main.cpp imgui_impl_a5.cpp ../imgui/imgui.cpp -lallegro -lallegro_primitives +g++ -I ../imgui main.cpp imgui_impl_a5.cpp ../imgui/imgui*.cpp -lallegro -lallegro_primitives ``` - On Windows with Visual Studio's CLI @@ -12,5 +12,5 @@ g++ -I ../imgui main.cpp imgui_impl_a5.cpp ../imgui/imgui.cpp -lallegro -lallegr \ is your allegro5 folder. ``` -cl /MD /I /I ..\imgui main.cpp imgui_impl_a5.cpp ..\imgui\imgui.cpp /link /LIBPATH: allegro-5.0.10-monolith-md.lib user32.lib +cl /MD /I /I ..\imgui main.cpp imgui_impl_a5.cpp ..\imgui\imgui*.cpp /link /LIBPATH: allegro-5.0.10-monolith-md.lib user32.lib ``` diff --git a/examples/sdl_opengl_example/README.md b/examples/sdl_opengl_example/README.md index 0afb09312..bf2aeddff 100644 --- a/examples/sdl_opengl_example/README.md +++ b/examples/sdl_opengl_example/README.md @@ -6,11 +6,11 @@ \ is your SDL2 folder. ``` -cl /MD /I /I ..\.. main.cpp imgui_impl_sdl.cpp ..\..\imgui.cpp /link /LIBPATH: SDL2.lib SDL2main.lib +cl /MD /I /I ..\.. main.cpp imgui_impl_sdl.cpp ..\..\imgui*.cpp /link /LIBPATH: SDL2.lib SDL2main.lib ``` - On Linux and similar Unices ``` -c++ `sdl2-config --cflags` -I ../.. main.cpp imgui_impl_sdl.cpp ../../imgui.cpp `sdl2-config --libs` -lGL -o sdl2example +c++ `sdl2-config --cflags` -I ../.. main.cpp imgui_impl_sdl.cpp ../../imgui*.cpp `sdl2-config --libs` -lGL -o sdl2example ```