summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2011-01-17 20:41:05 -0600
committerKamil Kaminski <kamilkss@gmail.com>2011-01-17 20:41:05 -0600
commit12c46bede4a3c0bf615078025769bea014883a6e (patch)
tree5a1cf0c4844b016bd2eacde003e304b0c27cbfa3
parenta45c12c116ef9ae77ded325423351cc34b6c0fb1 (diff)
downloadGLPyramid-12c46bede4a3c0bf615078025769bea014883a6e.tar.gz
GLPyramid-12c46bede4a3c0bf615078025769bea014883a6e.tar.bz2
GLPyramid-12c46bede4a3c0bf615078025769bea014883a6e.zip
s/LFLAGS/LDFLAGS
-rw-r--r--glut/Makefile4
-rwxr-xr-xglut/mingw324
-rw-r--r--sdl/Makefile4
-rw-r--r--sdl/mingw324
4 files changed, 8 insertions, 8 deletions
diff --git a/glut/Makefile b/glut/Makefile
index cb35ef0..fabc6e0 100644
--- a/glut/Makefile
+++ b/glut/Makefile
@@ -7,10 +7,10 @@ ifdef DEBUG
else
CFLAGS = -Wall -std=c99 -O2 -march=native -mtune=native
endif
-LFLAGS = -lGLEW -lGL -lGLU -lm -lglut
+LDFLAGS = -lGLEW -lGL -lGLU -lm -lglut
$(PROG): $(OBJS)
- $(CC) $(LFLAGS) $(OBJS) -o $(PROG)
+ $(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
$(PROG).o: $(PROG).c math3d.h
$(CC) -c $(CFLAGS) $(PROG).c
diff --git a/glut/mingw32 b/glut/mingw32
index 808146e..c6bbc65 100755
--- a/glut/mingw32
+++ b/glut/mingw32
@@ -7,10 +7,10 @@ ifdef DEBUG
else
CFLAGS = -Wall -std=c99 -O2 -march=native -mtune=native
endif
-LFLAGS = -lglew32 -lopengl32 -lglu32 -lm -lfreeglut
+LDFLAGS = -lglew32 -lopengl32 -lglu32 -lm -lfreeglut
$(PROG): $(OBJS)
- $(CC) -o $(PROG) $(OBJS) $(LFLAGS)
+ $(CC) -o $(PROG) $(OBJS) $(LDFLAGS)
$(PROG).o: $(PROG).c math3d.h
$(CC) -c $(CFLAGS) $(PROG).c
diff --git a/sdl/Makefile b/sdl/Makefile
index 1f9134c..c0683c9 100644
--- a/sdl/Makefile
+++ b/sdl/Makefile
@@ -21,10 +21,10 @@ $(PROG).o: $(PROG).c math3d.h gltools.h glframe.h
math3d.o: math3d.c math3d.h
$(CC) -c $(CFLAGS) math3d.c
-
+
gltools.o: gltools.c gltools.h math3d.h
$(CC) -c $(CFLAGS) gltools.c
-
+
glframe.o: glframe.c glframe.h math3d.h
$(CC) -c $(CFLAGS) glframe.c
diff --git a/sdl/mingw32 b/sdl/mingw32
index 19e9fcd..94a935b 100644
--- a/sdl/mingw32
+++ b/sdl/mingw32
@@ -17,10 +17,10 @@ $(PROG).o: $(PROG).c math3d.h gltools.h glframe.h
math3d.o: math3d.c math3d.h
$(CC) -c $(CFLAGS) math3d.c
-
+
gltools.o: gltools.c gltools.h math3d.h
$(CC) -c $(CFLAGS) gltools.c
-
+
glframe.o: glframe.c glframe.h math3d.h
$(CC) -c $(CFLAGS) glframe.c