summaryrefslogtreecommitdiffstats
path: root/glut/mingw32
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2011-07-01 19:37:08 -0500
committerKamil Kaminski <kamilkss@gmail.com>2011-07-01 19:37:08 -0500
commit9129b7ff505f7b296462dcd9e027c892a9c75c52 (patch)
tree1e63277bd3925c43bd17a8441d5e8fdc45ffb0ef /glut/mingw32
parent34609d64dd1298b77351267ff9763b53de8eecf9 (diff)
downloadGLPyramid-9129b7ff505f7b296462dcd9e027c892a9c75c52.tar.gz
GLPyramid-9129b7ff505f7b296462dcd9e027c892a9c75c52.tar.bz2
GLPyramid-9129b7ff505f7b296462dcd9e027c892a9c75c52.zip
Makefile: touch up the makefiles
The mingw32 for sdl gets fancy templates and automatic dependency generation.
Diffstat (limited to 'glut/mingw32')
-rw-r--r--glut/mingw3224
1 files changed, 0 insertions, 24 deletions
diff --git a/glut/mingw32 b/glut/mingw32
deleted file mode 100644
index c6bbc65..0000000
--- a/glut/mingw32
+++ /dev/null
@@ -1,24 +0,0 @@
-PROG = pyramid
-OBJS = $(PROG).o math3d.o
-CC = gcc
-DBGFLAGS = -g -O0
-ifdef DEBUG
- CFLAGS = $(DBGFLAGS) -Wall -std=c99
-else
- CFLAGS = -Wall -std=c99 -O2 -march=native -mtune=native
-endif
-LDFLAGS = -lglew32 -lopengl32 -lglu32 -lm -lfreeglut
-
-$(PROG): $(OBJS)
- $(CC) -o $(PROG) $(OBJS) $(LDFLAGS)
-
-$(PROG).o: $(PROG).c math3d.h
- $(CC) -c $(CFLAGS) $(PROG).c
-
-math3d.o: math3d.c math3d.h
- $(CC) -c $(CFLAGS) math3d.c
-
-.PHONY: clean
-
-clean:
- rm -f *.o ./$(PROG).exe