mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +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)
|
||||
|
||||
ifeq ($(PLATFORM),WINDOWS)
|
||||
OBJ=obj_win
|
||||
EOBJ=eobj_win
|
||||
OBJ=$(SRC)/obj_win
|
||||
EOBJ=$(SRC)/eobj_win
|
||||
else
|
||||
ifeq ($(SUBPLATFORM),LINUX)
|
||||
LIBS+= -lrt
|
||||
endif
|
||||
OBJ=obj
|
||||
EOBJ=eobj
|
||||
OBJ=$(SRC)/obj
|
||||
EOBJ=$(SRC)/eobj
|
||||
endif
|
||||
|
||||
JMACTOBJ=$(OBJ)/file_lib.$o \
|
||||
|
@ -220,7 +220,7 @@ ifeq ($(PLATFORM),DARWIN)
|
|||
-I$(APPLE_FRAMEWORKS)/SDL_mixer.framework/Headers
|
||||
|
||||
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,CoreMidi -Wl,-framework,AudioUnit \
|
||||
-Wl,-framework,AudioToolbox -Wl,-framework,IOKit -Wl,-framework,AGL \
|
||||
|
@ -264,7 +264,7 @@ endif
|
|||
ifeq ($(RENDERTYPE),SDL)
|
||||
ifeq ($(PLATFORM),WINDOWS)
|
||||
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
|
||||
else
|
||||
ifneq ($(PLATFORM),DARWIN)
|
||||
|
@ -352,7 +352,7 @@ ifneq ($(STRIP),)
|
|||
$(STRIP) $(EDUKE32)
|
||||
endif
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
cp -RPf "Apple/bundles/EDuke32.app" "./"
|
||||
cp -RPf "platform/Apple/bundles/EDuke32.app" "./"
|
||||
mkdir -p "EDuke32.app/Contents/MacOS"
|
||||
cp -f "$(EDUKE32)" "EDuke32.app/Contents/MacOS/"
|
||||
endif
|
||||
|
@ -364,7 +364,7 @@ ifneq ($(STRIP),)
|
|||
$(STRIP) $(MAPSTER32)
|
||||
endif
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
cp -RPf "Apple/bundles/Mapster32.app" "./"
|
||||
cp -RPf "platform/Apple/bundles/Mapster32.app" "./"
|
||||
mkdir -p "Mapster32.app/Contents/MacOS"
|
||||
cp -f "$(MAPSTER32)" "Mapster32.app/Contents/MacOS/"
|
||||
endif
|
||||
|
@ -405,7 +405,7 @@ endif
|
|||
|
||||
# RULES
|
||||
|
||||
$(EBACKTRACEDLL): Windows/src/backtrace.c
|
||||
$(EBACKTRACEDLL): platform/Windows/src/backtrace.c
|
||||
$(COMPILE_STATUS)
|
||||
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)
|
||||
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
|
||||
ifeq ($(PLATFORM),WINDOWS)
|
||||
BASELIBDIRS+= -L$(abspath $(dir $(MAKEFILE_COMMON))Windows/lib$(WINLIB))
|
||||
BASECOMMONFLAGS+= -I$(abspath $(dir $(MAKEFILE_COMMON))Windows/include)
|
||||
BASELIBDIRS+= -L$(abspath $(dir $(MAKEFILE_COMMON))platform/Windows/lib$(WINLIB))
|
||||
BASECOMMONFLAGS+= -I$(abspath $(dir $(MAKEFILE_COMMON))platform/Windows/include)
|
||||
endif
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
# 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
|
||||
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
|
||||
endif
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# EDuke32 Makefile for Microsoft NMake
|
||||
CPLUSPLUS=1
|
||||
SRC=source
|
||||
OBJ=obj_win
|
||||
OBJ=$(SRC)\obj_win
|
||||
EROOT=build
|
||||
EINC=$(EROOT)\include
|
||||
EOBJ=eobj_win
|
||||
EOBJ=$(SRC)\eobj_win
|
||||
INC=$(SRC)
|
||||
RSRC=rsrc
|
||||
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