Some tweaks to make the windows-gcc play nice with irix.
This commit is contained in:
@@ -22,15 +22,7 @@ all debug: default
|
|||||||
install: importer
|
install: importer
|
||||||
|
|
||||||
importer:
|
importer:
|
||||||
ifeq ($(FREE_WINDOWS),true)
|
|
||||||
cp $(NAN_PYTHON)/lib/python22.dll .
|
|
||||||
dlltool.exe -v --output-lib $(NAN_PYTHON)/lib/freepy.a \
|
|
||||||
--input-def $(NANBLENDERHOME)/dlltool/python.def \
|
|
||||||
--dllname python22.dll
|
|
||||||
ranlib $(NAN_PYTHON)/lib/freepy.a
|
|
||||||
rm ./python22.dll
|
|
||||||
@[ -d $(TARGETDIR) ] || mkdir -p $(TARGETDIR)
|
@[ -d $(TARGETDIR) ] || mkdir -p $(TARGETDIR)
|
||||||
endif
|
|
||||||
$(NAN_PYTHON_BINARY) $(PYFLAGS) freeze.py -d -x os -x pprint -x string -x copy -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py
|
$(NAN_PYTHON_BINARY) $(PYFLAGS) freeze.py -d -x os -x pprint -x string -x copy -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py
|
||||||
$(MAKE) -C $(TARGETDIR)
|
$(MAKE) -C $(TARGETDIR)
|
||||||
|
|
||||||
|
@@ -180,7 +180,6 @@ ifeq ($(OS),windows)
|
|||||||
CFLAGS += -pipe -mno-cygwin -mwindows
|
CFLAGS += -pipe -mno-cygwin -mwindows
|
||||||
CCFLAGS += -pipe -mno-cygwin -mwindows
|
CCFLAGS += -pipe -mno-cygwin -mwindows
|
||||||
CPPFLAGS += -DFREE_WINDOWS
|
CPPFLAGS += -DFREE_WINDOWS
|
||||||
#CPPFLAGS += -I/usr/include/mingw
|
|
||||||
REL_CFLAGS += -O2
|
REL_CFLAGS += -O2
|
||||||
REL_CCFLAGS += -O2
|
REL_CCFLAGS += -O2
|
||||||
#NAN_DEPEND = true
|
#NAN_DEPEND = true
|
||||||
@@ -264,9 +263,6 @@ $(DIR)/$(DEBUG_DIR)%.o: %.cpp
|
|||||||
$(CCC) -c $(CCFLAGS) $(CPPFLAGS) $< -o $@
|
$(CCC) -c $(CCFLAGS) $(CPPFLAGS) $< -o $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#$(DIR)/$(DEBUG_DIR)%.res: %.rc
|
|
||||||
# $(SRCHOME)/tools/cygwin/cl_wrapper.pl - rc /fo$@ $<
|
|
||||||
|
|
||||||
$(DIR)/$(DEBUG_DIR)%.res: %.rc
|
$(DIR)/$(DEBUG_DIR)%.res: %.rc
|
||||||
ifeq ($(FREE_WINDOWS),true)
|
ifeq ($(FREE_WINDOWS),true)
|
||||||
windres $< -O coff -o $@
|
windres $< -O coff -o $@
|
||||||
|
Reference in New Issue
Block a user