Last active
September 21, 2016 17:25
-
-
Save araml/07ad3025e29a4fd69b17 to your computer and use it in GitHub Desktop.
Revisions
-
araml revised this gist
Jun 5, 2016 . 1 changed file with 6 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,21 +8,19 @@ LDFLAGS = HEADERS = # Object files file.o, etc OBJECTS= EXECUTABLE= all: $(EXECUTABLE) $(EXECUTABLE): $(OBJECTS) $(HEADERS) $(CC) $(LDFLAGS) $(OBJECTS) -o $@ %.o: %.cpp $(CC) -I$(INCDIR) $(CFLAGS) $< -c -o $@ clean: rm -rf $(EXECUTABLE) $(OBJECTS)
-
araml revised this gist
May 1, 2016 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,8 @@ CC = g++ # Compiler flags -Weffc++ CFLAGS = -Wpedantic -Wall -Wextra -c -g -std=c++11 -ggdb -O0 # Linker flags LDFLAGS = # for glw3 LDLFLAGS = -lGLEW -lglfw3 -lGL -lX11 -lXi -lXrandr -lXxf86vm -lXinerama -lXcursor -lrt -lm -pthread -ldl HEADERS = -
araml revised this gist
Mar 1, 2016 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -20,8 +20,8 @@ all: $(SOURCES) $(EXECUTABLE) $(EXECUTABLE): $(OBJECTS) $(CC) $(LDFLAGS) $(OBJECTS) -o $@ %.o: %.cpp $(CC) -I$(INCDIR) $(CFLAGS) $< -c -o $@ clean: rm -rf $(EXECUTABLE) $(OBJECTS) -
araml created this gist
Jan 9, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ # Compiler CC = g++ # Compiler flags -Weffc++ CFLAGS = -Wpedantic -Wall -Wextra -c -g -std=c++11 -ggdb -O0 # Linker flags LDFLAGS = HEADERS = SOURCES = # Object files OBJECTS=$(SOURCES:.cpp=.o) # Binary EXECUTABLE= all: $(SOURCES) $(EXECUTABLE) $(EXECUTABLE): $(OBJECTS) $(CC) $(LDFLAGS) $(OBJECTS) -o $@ clean: rm -rf $(EXECUTABLE) $(OBJECTS) .cpp.o: $(CC) -I$(INCDIR) $(CFLAGS) $< -c -o $@