Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # définition des cibles particulières
- .PHONY: clean, tar
- # désactivation des règles implicites
- .SUFFIXES:
- CC = g++ -g -O0
- SRC=./src/
- OBJ=./obj/
- OBJECTS=main.o mainframe.o dialogs.o openglcanvas.o triangle.o
- EXEC=drawtri
- $(EXEC) : $(OBJECTS)
- $(CC) -o $@ $(OBJ)$^ `wx-config --libs --gl-libs`
- %.o: $(SRC)%.cpp
- $(CC) `wx-config --cxxflags` -c $(SRC)$*.cpp -o $(OBJ)$*.o
- clean :
- rm -f $(OBJ)*.o *.out *.tar.gz drawtri
- tar:
- tar czf GIULIANI_Alessandro.tar.gz *
Add Comment
Please, Sign In to add comment