mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Makefile: Fix building the tools on Mac.
git-svn-id: https://svn.eduke32.com/eduke32@6425 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
eb332f21a4
commit
f5d0acfee8
1 changed files with 2 additions and 4 deletions
|
@ -206,6 +206,7 @@ ifneq (0,$(LUNATIC))
|
|||
endif
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
engine_objs += osxbits.mm
|
||||
engine_tools_objs += osxbits.mm
|
||||
ifeq ($(STARTUP_WINDOW),1)
|
||||
engine_editor_objs += startosx.editor.mm
|
||||
endif
|
||||
|
@ -348,10 +349,6 @@ ifeq ($(RENDERTYPE),SDL)
|
|||
tools_targets += makesdlkeytrans
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
tools_objs += osxbits.mm
|
||||
endif
|
||||
|
||||
|
||||
#### KenBuild (Test Game)
|
||||
|
||||
|
@ -867,6 +864,7 @@ libcache1d$(DLLSUFFIX): $(engine_src)/cache1d.cpp
|
|||
$(COMPILE_STATUS)
|
||||
$(RECIPE_IF) $(COMPILER_C) -DCACHE1D_COMPRESS_ONLY -shared -fPIC $< -o $@ $(RECIPE_RESULT_COMPILE)
|
||||
|
||||
# to debug the tools link phase, make a copy of this rule explicitly replacing % with the name of a tool, such as kextract
|
||||
%$(EXESUFFIX): $(tools_obj)/%.$o $(foreach i,tools $(tools_deps),$(call expandobjs,$i))
|
||||
$(LINK_STATUS)
|
||||
$(RECIPE_IF) $(LINKER) -o $@ $^ $(LIBDIRS) $(LIBS) $(RECIPE_RESULT_LINK)
|
||||
|
|
Loading…
Reference in a new issue