Skip to content

Commit

Permalink
test with 3d cube and add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ARO17 committed May 8, 2012
1 parent 4a49c01 commit 5aedc76
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions graphic_programming/opengl/Makefile
@@ -0,0 +1,22 @@
# désactivation des règles implicites
.SUFFIXES:

# définition des variables
PROGRAMS = first_3d_cube
CXX = g++
CFLAGS = -Wall -W
LIBS = $(shell sdl-config --libs) -lGL -lGLU


all: $(PROGRAMS)

first_3d_cube: first_3d_cube.cpp
$(CXX) $(CFLAGS) first_3d_cube.cpp -o first_3d_cube $(LIBS)

# définition des cibles particulières
.PHONY: clean, mrproper
clean:
rm -rf *.bak rm -rf *.o

mrproper: clean
rm -rf $(PROGRAMS)

0 comments on commit 5aedc76

Please sign in to comment.