Skip to content

Commit

Permalink
Cleaned up Win32 build a little
Browse files Browse the repository at this point in the history
  • Loading branch information
stegu committed Mar 25, 2011
1 parent 8849f11 commit 6a9dcd7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions benchmark/Makefile
@@ -1,13 +1,14 @@
WINMAKE = mingw32-make

.PHONY: default clean Linux MacOSX Win32 clean-Win32

default:
@echo "Usage:"
@echo "make [ Linux | MacOSX | Win32 ]"
@echo "make [ Linux | MacOSX | Win32 | clean | clean-Win32]"

clean:
cd Linux ; make clean
cd MacOSX ; make clean
cd Win32 ; make clean

Linux:
cd common ; make
Expand All @@ -18,8 +19,8 @@ MacOSX:
cd $@ ; make ; make run

Win32:
cd common && mingw32-make
cd $@ && mingw32-make && mingw32-make run
cd common && $(WINMAKE)
cd $@ && $(WINMAKE) && $(WINMAKE)

clean-Win32:
cd Win32 && mingw32-make clean
cd Win32 && $(WINMAKE) clean
File renamed without changes.
4 changes: 2 additions & 2 deletions benchmark/common/noisebench.c
Expand Up @@ -16,7 +16,7 @@
*/

// Identify the exact version of noise being benchmarked
#define NOISEVERSION "2011-03-21"
#define NOISEVERSION "2011-03-25"

#include <stdio.h>
#include <stdlib.h>
Expand All @@ -25,7 +25,7 @@

#ifdef __WIN32__
// The system level include file for GL extensions might not be up to date.
#include "glext.h"
#include "GL/glext.h"
#else
#include <GL/glext.h>
#endif
Expand Down

0 comments on commit 6a9dcd7

Please sign in to comment.