mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
Directory cleanup. Move the "Apple", "Windows", and "Wii" directories to a new "platform" dir, move the contents of "psd" to "rsrc/source", move eobj* and obj* directories so that they're under the "source" dir.
git-svn-id: https://svn.eduke32.com/eduke32@3551 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
051112223c
commit
3e4ea93b20
100 changed files with 16 additions and 16 deletions
|
@ -77,14 +77,14 @@ endif
|
||||||
EBACKTRACEDLL_TARGET:=$(EBACKTRACEDLL)
|
EBACKTRACEDLL_TARGET:=$(EBACKTRACEDLL)
|
||||||
|
|
||||||
ifeq ($(PLATFORM),WINDOWS)
|
ifeq ($(PLATFORM),WINDOWS)
|
||||||
OBJ=obj_win
|
OBJ=$(SRC)/obj_win
|
||||||
EOBJ=eobj_win
|
EOBJ=$(SRC)/eobj_win
|
||||||
else
|
else
|
||||||
ifeq ($(SUBPLATFORM),LINUX)
|
ifeq ($(SUBPLATFORM),LINUX)
|
||||||
LIBS+= -lrt
|
LIBS+= -lrt
|
||||||
endif
|
endif
|
||||||
OBJ=obj
|
OBJ=$(SRC)/obj
|
||||||
EOBJ=eobj
|
EOBJ=$(SRC)/eobj
|
||||||
endif
|
endif
|
||||||
|
|
||||||
JMACTOBJ=$(OBJ)/file_lib.$o \
|
JMACTOBJ=$(OBJ)/file_lib.$o \
|
||||||
|
@ -220,7 +220,7 @@ ifeq ($(PLATFORM),DARWIN)
|
||||||
-I$(APPLE_FRAMEWORKS)/SDL_mixer.framework/Headers
|
-I$(APPLE_FRAMEWORKS)/SDL_mixer.framework/Headers
|
||||||
|
|
||||||
LIBS += -lFLAC -lvorbisfile -lvorbis -logg -lm \
|
LIBS += -lFLAC -lvorbisfile -lvorbis -logg -lm \
|
||||||
-Wl,-framework,SDL -Wl,-framework,SDL_mixer Apple/lib/libSDLmain.a \
|
-Wl,-framework,SDL -Wl,-framework,SDL_mixer platform/Apple/lib/libSDLmain.a \
|
||||||
-Wl,-framework,Cocoa -Wl,-framework,Carbon -Wl,-framework,OpenGL \
|
-Wl,-framework,Cocoa -Wl,-framework,Carbon -Wl,-framework,OpenGL \
|
||||||
-Wl,-framework,CoreMidi -Wl,-framework,AudioUnit \
|
-Wl,-framework,CoreMidi -Wl,-framework,AudioUnit \
|
||||||
-Wl,-framework,AudioToolbox -Wl,-framework,IOKit -Wl,-framework,AGL \
|
-Wl,-framework,AudioToolbox -Wl,-framework,IOKit -Wl,-framework,AGL \
|
||||||
|
@ -264,7 +264,7 @@ endif
|
||||||
ifeq ($(RENDERTYPE),SDL)
|
ifeq ($(RENDERTYPE),SDL)
|
||||||
ifeq ($(PLATFORM),WINDOWS)
|
ifeq ($(PLATFORM),WINDOWS)
|
||||||
OURCOMMONFLAGS += -I$(SDLROOT)/include -I$(SDLROOT)/include/SDL
|
OURCOMMONFLAGS += -I$(SDLROOT)/include -I$(SDLROOT)/include/SDL
|
||||||
LIBS+= Windows/lib$(WINLIB)/SDL_mixer.lib
|
LIBS+= platform/Windows/lib$(WINLIB)/SDL_mixer.lib
|
||||||
LIBDIRS+= -L$(SDLROOT)/lib
|
LIBDIRS+= -L$(SDLROOT)/lib
|
||||||
else
|
else
|
||||||
ifneq ($(PLATFORM),DARWIN)
|
ifneq ($(PLATFORM),DARWIN)
|
||||||
|
@ -352,7 +352,7 @@ ifneq ($(STRIP),)
|
||||||
$(STRIP) $(EDUKE32)
|
$(STRIP) $(EDUKE32)
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM),DARWIN)
|
ifeq ($(PLATFORM),DARWIN)
|
||||||
cp -RPf "Apple/bundles/EDuke32.app" "./"
|
cp -RPf "platform/Apple/bundles/EDuke32.app" "./"
|
||||||
mkdir -p "EDuke32.app/Contents/MacOS"
|
mkdir -p "EDuke32.app/Contents/MacOS"
|
||||||
cp -f "$(EDUKE32)" "EDuke32.app/Contents/MacOS/"
|
cp -f "$(EDUKE32)" "EDuke32.app/Contents/MacOS/"
|
||||||
endif
|
endif
|
||||||
|
@ -364,7 +364,7 @@ ifneq ($(STRIP),)
|
||||||
$(STRIP) $(MAPSTER32)
|
$(STRIP) $(MAPSTER32)
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM),DARWIN)
|
ifeq ($(PLATFORM),DARWIN)
|
||||||
cp -RPf "Apple/bundles/Mapster32.app" "./"
|
cp -RPf "platform/Apple/bundles/Mapster32.app" "./"
|
||||||
mkdir -p "Mapster32.app/Contents/MacOS"
|
mkdir -p "Mapster32.app/Contents/MacOS"
|
||||||
cp -f "$(MAPSTER32)" "Mapster32.app/Contents/MacOS/"
|
cp -f "$(MAPSTER32)" "Mapster32.app/Contents/MacOS/"
|
||||||
endif
|
endif
|
||||||
|
@ -405,7 +405,7 @@ endif
|
||||||
|
|
||||||
# RULES
|
# RULES
|
||||||
|
|
||||||
$(EBACKTRACEDLL): Windows/src/backtrace.c
|
$(EBACKTRACEDLL): platform/Windows/src/backtrace.c
|
||||||
$(COMPILE_STATUS)
|
$(COMPILE_STATUS)
|
||||||
if $(CC) $(OURCONLYFLAGS) -O2 -shared -Wall -Wextra -I$(EINC) -o $@ $^ -lbfd -liberty -limagehlp; then $(COMPILE_OK); else $(COMPILE_FAILED); fi
|
if $(CC) $(OURCONLYFLAGS) -O2 -shared -Wall -Wextra -I$(EINC) -o $@ $^ -lbfd -liberty -limagehlp; then $(COMPILE_OK); else $(COMPILE_FAILED); fi
|
||||||
|
|
||||||
|
@ -467,7 +467,7 @@ $(SRC)/lunatic/mapster32.def: $(SRC)/lunatic/dynsymlist_m32
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
||||||
$(OBJ)/%.$o: Apple/%.m
|
$(OBJ)/%.$o: platform/Apple/%.m
|
||||||
$(COMPILE_STATUS)
|
$(COMPILE_STATUS)
|
||||||
if $(COMPILER) $(OURCFLAGS) -c $< -o $@; then $(COMPILE_OK); else $(COMPILE_FAILED); fi
|
if $(COMPILER) $(OURCFLAGS) -c $< -o $@; then $(COMPILE_OK); else $(COMPILE_FAILED); fi
|
||||||
|
|
||||||
|
|
|
@ -398,14 +398,14 @@ endif
|
||||||
|
|
||||||
# Set up target-specific headers and libs that work across all Makefiles
|
# Set up target-specific headers and libs that work across all Makefiles
|
||||||
ifeq ($(PLATFORM),WINDOWS)
|
ifeq ($(PLATFORM),WINDOWS)
|
||||||
BASELIBDIRS+= -L$(abspath $(dir $(MAKEFILE_COMMON))Windows/lib$(WINLIB))
|
BASELIBDIRS+= -L$(abspath $(dir $(MAKEFILE_COMMON))platform/Windows/lib$(WINLIB))
|
||||||
BASECOMMONFLAGS+= -I$(abspath $(dir $(MAKEFILE_COMMON))Windows/include)
|
BASECOMMONFLAGS+= -I$(abspath $(dir $(MAKEFILE_COMMON))platform/Windows/include)
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM),DARWIN)
|
ifeq ($(PLATFORM),DARWIN)
|
||||||
# include port and brew
|
# include port and brew
|
||||||
BASELIBDIRS+= -L$(abspath $(dir $(MAKEFILE_COMMON))Apple/lib) \
|
BASELIBDIRS+= -L$(abspath $(dir $(MAKEFILE_COMMON))platform/Apple/lib) \
|
||||||
-L/opt/local/lib -L/usr/local/lib
|
-L/opt/local/lib -L/usr/local/lib
|
||||||
BASECOMMONFLAGS+= -I$(abspath $(dir $(MAKEFILE_COMMON))Apple/include) \
|
BASECOMMONFLAGS+= -I$(abspath $(dir $(MAKEFILE_COMMON))platform/Apple/include) \
|
||||||
-I/opt/local/include -I/sw/include -I/usr/local/include
|
-I/opt/local/include -I/sw/include -I/usr/local/include
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# EDuke32 Makefile for Microsoft NMake
|
# EDuke32 Makefile for Microsoft NMake
|
||||||
CPLUSPLUS=1
|
CPLUSPLUS=1
|
||||||
SRC=source
|
SRC=source
|
||||||
OBJ=obj_win
|
OBJ=$(SRC)\obj_win
|
||||||
EROOT=build
|
EROOT=build
|
||||||
EINC=$(EROOT)\include
|
EINC=$(EROOT)\include
|
||||||
EOBJ=eobj_win
|
EOBJ=$(SRC)\eobj_win
|
||||||
INC=$(SRC)
|
INC=$(SRC)
|
||||||
RSRC=rsrc
|
RSRC=rsrc
|
||||||
o=obj
|
o=obj
|
||||||
|
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
Loading…
Reference in a new issue