2009-08-21 13:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* config/os2/gcc.mk
    % Using $(wildcard) instead of echo trick to delete target lib.
      Please test. I don't have access to OS/2.
    ; 'if exist' and 'if not exist' are now only used from 
      globsh.mk nt and os2 shell sections.
    ; TOFIX: $(COMSPEC) still in OS/2 section. Test results would be 
             welcome without it.
This commit is contained in:
Viktor Szakats
2009-08-21 11:47:05 +00:00
parent ac72071986
commit f9143cfa55
2 changed files with 10 additions and 1 deletions

View File

@@ -17,6 +17,15 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-08-21 13:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/os2/gcc.mk
% Using $(wildcard) instead of echo trick to delete target lib.
Please test. I don't have access to OS/2.
; 'if exist' and 'if not exist' are now only used from
globsh.mk nt and os2 shell sections.
; TOFIX: $(COMSPEC) still in OS/2 section. Test results would be
welcome without it.
2009-08-21 13:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/bcc.mk
* config/win/watcom.mk

View File

@@ -78,7 +78,7 @@ endif
# We have to use a script to overcome the AR limit of max 850 characters
# in commmand line
define create_library
if exist $(subst /,$(DIRSEP),$(LIB_FILE)) $(RM) $(subst /,$(DIRSEP),$(LIB_FILE))
$(if $(wildcard $(subst /,$(DIRSEP),$(LIB_FILE))),@$(RM) $(subst /,$(DIRSEP),$(LIB_FILE)),)
@$(ECHO) CREATE $(LIB_DIR)/$@ > __lib__.tmp
for %i in ( *$(OBJ_EXT) ) do @$(ECHO) ADDMOD %i >> __lib__.tmp
@$(ECHO) SAVE >> __lib__.tmp