Skip to content
Snippets Groups Projects

fixed order to compile hello-gtk

Merged Benedikt Wildenhain requested to merge bwildenhain/hp:master into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -9,7 +9,7 @@ sudo apt-get install libc6-dev gcc libgtk-3-dev liballegro4-dev libsdl1.2-dev li
@@ -9,7 +9,7 @@ sudo apt-get install libc6-dev gcc libgtk-3-dev liballegro4-dev libsdl1.2-dev li
Kompiliert werden können die Programme danach mit diesen Befehlen:
Kompiliert werden können die Programme danach mit diesen Befehlen:
gcc -Wall -O hello.c -o hello
gcc -Wall -O hello.c -o hello
gcc $(pkg-config --cflags --libs gtk+-3.0) -Wall -O hello-gtk.c -o hello-gtk
gcc -Wall -O hello-gtk.c -o hello-gtk $(pkg-config --cflags --libs gtk+-3.0)
gcc -Wall -O hello-allegro.c -lalleg -o hello-allegro
gcc -Wall -O hello-allegro.c -lalleg -o hello-allegro
gcc -Wall -O hello-opengl.c -lGL -lGLU -lglut -o hello-opengl
gcc -Wall -O hello-opengl.c -lGL -lGLU -lglut -o hello-opengl
gcc -Wall -O hello-sdl.c -lSDL -lSDL_ttf -o hello-sdl
gcc -Wall -O hello-sdl.c -lSDL -lSDL_ttf -o hello-sdl
Loading