First public contribution.
1 # ;;; -*- Mode:makefile;-*-
2 # Generated automatically from Makefile.in by configure.
3 # This requires GNU make.
10 # point this to proper location
11 STL_INCL= -I../../stlport
13 AUX_LIST=TestClass.cpp main.cpp nc_alloc.cpp random_number.cpp
15 TEST_LIST=test_algo.cpp \
16 test_algobase.cpp test_list.cpp test_slist.cpp \
17 test_bit_vector.cpp test_vector.cpp \
18 test_deque.cpp test_set.cpp test_map.cpp \
19 test_hash_map.cpp test_hash_set.cpp test_rope.cpp \
20 test_string.cpp test_bitset.cpp test_valarray.cpp
22 OBJECTS = test_algo.o \
23 test_algobase.o test_list.o test_slist.o \
24 test_bit_vector.o test_vector.o \
25 test_deque.o test_set.o test_map.o \
26 test_hash_map.o test_hash_set.o test_rope.o \
27 test_string.o test_bitset.o test_valarray.o
29 LIST=${AUX_LIST} ${TEST_LIST}
31 # OBJECTS = $(LIST:%.cpp=%.o) $(STAT_MODULE)
32 EXECS = $(LIST:%.cpp=%)
33 TESTS = $(LIST:%.cpp=%.out)
40 CXXFLAGS = -w ${STL_INCL} -D_STLP_NO_CUSTOM_IO
44 LIBSTLPORT = -L../../lib -lstlport_hp
51 $(TEST_EXE) : $(OBJECTS)
52 $(CXX) $(CXXFLAGS) $(OBJECTS) ${LIBSTLPORT} $(LIBS) -o $(TEST_EXE)
57 SUFFIXES: .cpp .o .i .s .out .res .y
60 $(CXX) $(CXXFLAGS) $< -c -o $@
63 $(CXX) $(CXXFLAGS) $< -E -H > $@
66 $(CXX) $(CXXFLAGS) $< -c -USINGLE -DMAIN -g -o $*.o
67 $(CXX) $(CXXFLAGS) $*.o $(LIBS) -o $*
72 $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
75 -rm -fr ${TEST_EXE} *.o *.rpo *.obj *.out core *~ Templates.DB SunWS_cache