Created
March 27, 2011 10:28
-
-
Save orymate/889108 to your computer and use it in GitHub Desktop.
glut makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nev=elso_hazi | |
LDFLAGS += -lglut -lGLU -lGL | |
#LDFLAGS += -m32 # 32 bites bináris | |
#CXXFLAGS += -m32 # 32 bites bináris | |
CXXFLAGS += -pedantic -Wall -Wextra | |
#CXXFLAGS += -DDEBUG -g # debug opciók | |
CXXFLAGS += -g0 -O3 # release opciók | |
OBJS = $(nev).o # linkelendők | |
$(nev): $(OBJS) | |
$(CXX) $(LDFLAGS) $(OBJS) -o $@ | |
clean: | |
$(RM) *.o $(nev) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment