Ignore:
Timestamp:
Mar 9, 2000, 5:54:05 PM (25 years ago)
Author:
bird
Message:

Added test which don't add $(OBJDIR)\* to the delete rule if OBJDIR is empty.
And empty OBJDIR macro will delete the root directory on the drive!!!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/pdwin32.post

    r3038 r3053  
    1 # $Id: pdwin32.post,v 1.3 2000-03-07 11:20:14 bird Exp $
     1# $Id: pdwin32.post,v 1.4 2000-03-09 16:54:05 bird Exp $
    22#
    33# Odin32 API
     
    6868clean:  clean2
    6969!endif
    70     $(RM) $(OBJDIR)\* *.LIB *.res *.map *.pch \
     70    $(RM) *.LIB *.res *.map *.pch \
     71!if "$(OBJDIR)" != ""
     72     $(OBJDIR)\* \
     73!endif
    7174!ifndef LOCALCLEAN
    7275        $(PDWIN32_LIB)\$(TARGET).LIB \
Note: See TracChangeset for help on using the changeset viewer.