Changeset 19990

Show
Ignore:
Timestamp:
14.07.2009 11:20:32 (10 years ago)
Author:
oranfry
Message:

changes to search4j makefile to make it work standalone

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/trunk/search4j/win32.mak

    r19526 r19990  
    4343!ENDIF 
    4444 
     45!IF !DEFINED(BINDIR) 
     46BINDIR = C:\Program Files\search4j\bin 
     47!ENDIF 
     48 
    4549DEFS = -D_CRT_SECURE_NO_DEPRECATE 
    4650INCLUDES =  
    4751LIBS = advapi32.lib 
    4852 
    49 COMPILE = $(CC) -c /DWINDOWS=yes $(CXXFLAGS) $(DEFS) $(INCLUDES) 
     53COMPILE = $(CC) -c /DWINDOWS $(CXXFLAGS) $(DEFS) $(INCLUDES) 
    5054LINK = $(LINKER) /OUT:$@ $(LDFLAGS) 
    5155 
     
    7074 
    7175install: $(EXECUTABLE) 
     76    IF NOT EXIST "$(BINDIR)\.." mkdir "$(BINDIR)\.." 
     77    IF NOT EXIST "$(BINDIR)" mkdir "$(BINDIR)" 
    7278    copy $(EXECUTABLE) "$(BINDIR)"