Skip to content

Commit

Permalink
Completely bizare that -ansi breaks math.h declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLundquist committed Jan 3, 2011
1 parent 2cf4da4 commit c9b285f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.Unix
@@ -1,12 +1,12 @@
GL_INCLUDE = /usr/X11R6/include
GL_LIB = /usr/X11R6/lib
# CC_FLAGS = -ansi -Wextra# -Wall -pedantic # raise warnings about unused functions, variables, and dangerous initializations
CC_FLAGS = -Wextra -Wall -pedantic # raise warnings about unused functions, variables, and dangerous initializations

flag: file-util.o gl-util.o meshes.o flag.o
gcc -o flag $^ -L$(GL_LIB) -lGL -lglut -lGLEW

.c.o:
gcc $(CC_FLAGS) -c -o $@ $< -I$(GL_INCLUDE)
gcc $(STANDARD) $(CC_FLAGS) -c -o $@ $< -I$(GL_INCLUDE)

clean:
rm -f flag *.o

0 comments on commit c9b285f

Please sign in to comment.