/[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 885 by dbug, Mon Jul 13 12:20:10 2009 UTC revision 886 by mmu_man, Wed Sep 26 00:18:23 2012 UTC
# Line 1  Line 1 
1  CXX = g++  #CXX = g++
2  CXXFLAGS ?= -g -Wall -W -ansi # -pedantic  CXXFLAGS ?= -g -Wall -W -ansi # -pedantic
3  LDFLAGS ?=  LDFLAGS ?=
4    AR = ar
5    RANLIB = ranlib
6  SED = sed  SED = sed
7  MV = mv  MV = mv
8  RM = rm  RM = rm
9    
10    -include ../../../tools/rules.mk
11    
12  .SUFFIXES: .o .cpp  .SUFFIXES: .o .cpp
13    
14    ifeq ($(MSYSTEM), MINGW32)
15    PLATFORM = win32
16    endif
17    
18  lib = libUnitTest++.a  lib = libUnitTest++.a
19  test = TestUnitTest++  test = TestUnitTest++
20    
# Line 27  src = src/AssertException.cpp \ Line 35  src = src/AssertException.cpp \
35          src/XmlTestReporter.cpp \          src/XmlTestReporter.cpp \
36          src/CurrentTest.cpp          src/CurrentTest.cpp
37                    
38  ifeq ($(MSYSTEM), MINGW32)  ifeq ($(PLATFORM),win32)
39    src += src/Win32/TimeHelpers.cpp    src += src/Win32/TimeHelpers.cpp
40  else  else
41    src += src/Posix/SignalTranslator.cpp \    src += src/Posix/SignalTranslator.cpp \
# Line 73  all: $(test) Line 81  all: $(test)
81    
82  $(lib): $(objects)  $(lib): $(objects)
83          @echo Creating $(lib) library...          @echo Creating $(lib) library...
84          @ar cr $(lib) $(objects)          @$(AR) cr $(lib) $(objects)
85            @$(RANLIB) $(lib)
86            
87  $(test): $(lib) $(test_objects)  $(test): $(lib) $(test_objects)
88          @echo Linking $(test)...          @echo Linking $(test)...

Legend:
Removed from v.885  
changed lines
  Added in v.886

  ViewVC Help
Powered by ViewVC 1.1.26