added -mno-cygwin and moved optimization to config

This commit is contained in:
James Turk 2003-07-17 07:48:25 +00:00
parent 9918e5026d
commit 2bc912e275
2 changed files with 6 additions and 2 deletions

2
config
View File

@ -8,9 +8,11 @@ BUILD_NAME=ZEngine-0.8.4
#GL_LIB_NAME=OpenGL32 #GL_LIB_NAME=OpenGL32
#GL_INC_PATH=-I/usr/include/w32api/GL #GL_INC_PATH=-I/usr/include/w32api/GL
#GL_LIB_PATH=-L/lib/w32api #GL_LIB_PATH=-L/lib/w32api
#EXTRA_OPTIONS=-mno-cygwin -O2
###Linux### ###Linux###
GL_LIB_NAME=GL GL_LIB_NAME=GL
EXTRA_OPTIONS=-O2
##Define compiler commands: ##Define compiler commands:
CC=g++ CC=g++

View File

@ -1,8 +1,10 @@
#Makefile for ZEngine #Makefile for ZEngine
#defines the user shouldn't change#
include ./config include ./config
CFLAGS = -O2 $(WARN_LEVEL) -I./include $(SDL_INC_PATH) $(GL_INC_PATH) -L./lib $(SDL_LIB_PATH) $(GL_LIB_PATH) #defines the user shouldn't change#
INCLUDES = -I./include $(SDL_INC_PATH) $(GL_INC_PATH)
LIBRARIES = -L./lib $(SDL_LIB_PATH) $(GL_LIB_PATH)
CFLAGS = $(EXTRA_OPTIONS) $(WARN_LEVEL) $(INCLUDES) $(LIBRARIES)
LIB_OUT = ./lib/libZEngineS.a LIB_OUT = ./lib/libZEngineS.a
ALL_TESTS = ZFontTest ZMouseTest ZMusicTest ZSoundTest ZTimerTest ZImageTest ZRectTest ZParticleTest ALL_TESTS = ZFontTest ZMouseTest ZMusicTest ZSoundTest ZTimerTest ZImageTest ZRectTest ZParticleTest