/[projet1]/public/pc/shared_libraries/unittestcpp/v1.4/Makefile
Defence Force logotype

Diff of /public/pc/shared_libraries/unittestcpp/v1.4/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 892 by mmu_man, Wed Sep 26 00:18:23 2012 UTC revision 893 by mmu_man, Wed Sep 26 00:33:25 2012 UTC
# Line 13  RM = rm Line 13  RM = rm
13    
14  ifeq ($(MSYSTEM), MINGW32)  ifeq ($(MSYSTEM), MINGW32)
15  PLATFORM = win32  PLATFORM = win32
16    RUNTEST := 1
17    endif
18    
19    ifeq ($(PLATFORM),$(HOSTOS))
20    RUNTEST := 1
21  endif  endif
22    
23  lib = libUnitTest++.a  lib = libUnitTest++.a
# Line 87  $(lib): $(objects) Line 92  $(lib): $(objects)
92  $(test): $(lib) $(test_objects)  $(test): $(lib) $(test_objects)
93          @echo Linking $(test)...          @echo Linking $(test)...
94          @$(CXX) $(LDFLAGS) -o $(test) $(test_objects) $(lib)          @$(CXX) $(LDFLAGS) -o $(test) $(test_objects) $(lib)
95    ifeq ($(RUNTEST),1)
96          @echo Running unit tests...          @echo Running unit tests...
97          @./$(test)          @./$(test)
98    endif
99    
100  clean:  clean:
101          -@$(RM) $(objects) $(test_objects) $(dependencies) $(test_dependencies) $(test) $(lib) 2> /dev/null          -@$(RM) $(objects) $(test_objects) $(dependencies) $(test_dependencies) $(test) $(lib) 2> /dev/null

Legend:
Removed from v.892  
changed lines
  Added in v.893

  ViewVC Help
Powered by ViewVC 1.1.26