| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,11 +0,0 @@ |
| 1 |
-# set this variable to the director in which you saved the common files |
|
| 2 |
-commondir = ../common/ |
|
| 3 |
- |
|
| 4 |
-all : lab1-1 |
|
| 5 |
- |
|
| 6 |
-lab1-1 : lab1-1.cpp $(commondir)GL_utilities.c $(commondir)LoadTGA.c $(commondir)Linux/MicroGlut.c |
|
| 7 |
- gcc -Wall -o lab1-1 -I$(commondir) -I../common/Linux -DGL_GLEXT_PROTOTYPES lab1-1.cpp $(commondir)GL_utilities.c $(commondir)LoadTGA.c $(commondir)Linux/MicroGlut.c -lXt -lX11 -lGL -lm -lstdc++ |
|
| 8 |
- |
|
| 9 |
-clean : |
|
| 10 |
- rm lab1-1 |
|
| 11 |
- |
find . -type f -exec chmod -x {} +
| ... | ... |
@@ -4,7 +4,7 @@ commondir = ../common/ |
| 4 | 4 |
all : lab1-1 |
| 5 | 5 |
|
| 6 | 6 |
lab1-1 : lab1-1.cpp $(commondir)GL_utilities.c $(commondir)LoadTGA.c $(commondir)Linux/MicroGlut.c |
| 7 |
- gcc -Wall -o lab1-1 -I$(commondir) -I../common/Linux -DGL_GLEXT_PROTOTYPES lab1-1.cpp $(commondir)GL_utilities.c $(commondir)LoadTGA.c $(commondir)Linux/MicroGlut.c -lXt -lX11 -lGL -lm |
|
| 7 |
+ gcc -Wall -o lab1-1 -I$(commondir) -I../common/Linux -DGL_GLEXT_PROTOTYPES lab1-1.cpp $(commondir)GL_utilities.c $(commondir)LoadTGA.c $(commondir)Linux/MicroGlut.c -lXt -lX11 -lGL -lm -lstdc++ |
|
| 8 | 8 |
|
| 9 | 9 |
clean : |
| 10 | 10 |
rm lab1-1 |
| 1 | 1 |
new file mode 100755 |
| ... | ... |
@@ -0,0 +1,11 @@ |
| 1 |
+# set this variable to the director in which you saved the common files |
|
| 2 |
+commondir = ../common/ |
|
| 3 |
+ |
|
| 4 |
+all : lab1-1 |
|
| 5 |
+ |
|
| 6 |
+lab1-1 : lab1-1.cpp $(commondir)GL_utilities.c $(commondir)LoadTGA.c $(commondir)Linux/MicroGlut.c |
|
| 7 |
+ gcc -Wall -o lab1-1 -I$(commondir) -I../common/Linux -DGL_GLEXT_PROTOTYPES lab1-1.cpp $(commondir)GL_utilities.c $(commondir)LoadTGA.c $(commondir)Linux/MicroGlut.c -lXt -lX11 -lGL -lm |
|
| 8 |
+ |
|
| 9 |
+clean : |
|
| 10 |
+ rm lab1-1 |
|
| 11 |
+ |