From 12c46bede4a3c0bf615078025769bea014883a6e Mon Sep 17 00:00:00 2001 From: Kyle K Date: Mon, 17 Jan 2011 20:41:05 -0600 Subject: s/LFLAGS/LDFLAGS --- glut/Makefile | 4 ++-- glut/mingw32 | 4 ++-- sdl/Makefile | 4 ++-- sdl/mingw32 | 4 ++-- 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 -- cgit v1.2.3