Ignore:
Timestamp:
Dec 10, 2009, 12:56:17 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Build qmake second time after building all DLLs using its .pro and link it to Qt DLLs on OS/2 (this became possible after the fix in #405). This greatly reduces its size and finally fixes the national characters in the date printed in the generarted Makefile headers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/Makefile.os2-g++

    r394 r406  
    3838endif
    3939
    40 OBJECTS_DIR = release-shared
     40OBJECTS_DIR = release-
    4141
    4242# qmake code
     
    152152OBJECTS     = $(foreach src,$(SOURCES),$(call SRC_TO_OBJ,$(src)))
    153153
    154 $(BUILD_PATH)\bin\qmake.exe: $(OBJECTS)
     154 $(OBJECTS)
    155155        $(LINK) -o $@ $(OBJECTS) $(LIBS)
     156
     157
     158
     159
     160
     161
     162
    156163
    157164Makefile: Makefile.os2-g++
     
    166173
    167174distclean:: clean
    168         -del $(BUILD_PATH)\bin\qmake.exe >nul 2>&1
     175        -del qmake.exe >nul 2>&1
    169176
    170177.SUFFIXES: .cpp .c
     
    178185define SRC_TO_OBJ_RULE
    179186$(call SRC_TO_OBJ,$(1)): $(1)
    180         @if not exist $(OBJECTS_DIR) mkdir $(OBJECTS_DIR)
    181187        $(CXX) -c $(CXXFLAGS) -o $$@ $$<
    182188endef
Note: See TracChangeset for help on using the changeset viewer.