Some tweaks to make the windows-gcc play nice with irix.

This commit is contained in:
Chris Want
2003-05-25 05:22:46 +00:00
parent 6e6a73f38e
commit fcad2744d7
3 changed files with 49 additions and 61 deletions

View File

@@ -22,15 +22,7 @@ all debug: default
install: 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)
endif
$(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)

View File

@@ -180,7 +180,6 @@ ifeq ($(OS),windows)
CFLAGS += -pipe -mno-cygwin -mwindows
CCFLAGS += -pipe -mno-cygwin -mwindows
CPPFLAGS += -DFREE_WINDOWS
#CPPFLAGS += -I/usr/include/mingw
REL_CFLAGS += -O2
REL_CCFLAGS += -O2
#NAN_DEPEND = true
@@ -264,9 +263,6 @@ $(DIR)/$(DEBUG_DIR)%.o: %.cpp
$(CCC) -c $(CCFLAGS) $(CPPFLAGS) $< -o $@
endif
#$(DIR)/$(DEBUG_DIR)%.res: %.rc
# $(SRCHOME)/tools/cygwin/cl_wrapper.pl - rc /fo$@ $<
$(DIR)/$(DEBUG_DIR)%.res: %.rc
ifeq ($(FREE_WINDOWS),true)
windres $< -O coff -o $@