Sha256: aeb3bd32ceda5f4dfeb21a0b1dad1301b81f8ec488fe001efe7192268450ebf2

Contents?: true

Size: 1.14 KB

Versions: 135

Compression:

Stored size: 1.14 KB

Contents

SHELL=/bin/sh

# srcdir = .
# VPATH = .

STL_INCL=-I${PWD}/../../stlport/

AUX_LIST=TestClass.o main.o nc_alloc.o random_number.o

TEST_LIST=test_algo.o  \
test_algobase.o     test_list.o test_slist.o \
test_bit_vector.o   test_vector.o \
test_deque_cray.o test_set.o test_map.o \
test_hash_map.o  test_hash_set.o test_rope.o \
test_string.o test_bitset.o test_valarray.o

LIST=${AUX_LIST} ${TEST_LIST}

OBJECTS = $(LIST)
EXECS = $(LIST:%.o=%)
TESTS = $(LIST:%.o=%.out)
TEST_EXE  = eh_test
TEST  = eh_test.out

CC = CC
CXX = $(CC)

#CXXFLAGS = -hexceptions -DEH_DELETE_HAS_THROW_SPEC -I. ${STL_INCL} ${DEBUG_FLAGS}
CXXFLAGS = -D_STLP_HAS_NO_EXCEPTIONS -I. ${STL_INCL} ${DEBUG_FLAGS}

#LIBS = -L../../lib -lstlportx -lpthread
LIBS = -L../../lib -lstlport -lpthread

.SUFFIXES: .cpp .i .o .out

check: $(TEST)

$(TEST) : $(OBJECTS)
	$(CXX) $(CXXFLAGS) $(LIBS) $(OBJECTS) -o $(TEST_EXE)
	./$(TEST_EXE) -s 100

.cpp.o:
	$(CXX) $(CXXFLAGS) $< -c -o $@

.cpp.i:
	$(CXX) $(CXXFLAGS) $< -E > $@

%.out: %.cpp
	$(CXX) $(CXXFLAGS) $*.cpp -c -USINGLE -DMAIN -g -o $*.o
	$(CXX) $(CXXFLAGS) $(LIBS) $*.o -o $*
	./$* -q
	-rm -f $*

clean:
	-rm -fr ${TEST_EXE} *.o *.ii *.out core

Version data entries

135 entries across 135 versions & 2 rubygems

Version Path
rhodes-7.6.0 platform/shared/stlport/test/eh/cray.mak
rhodes-7.5.1 platform/shared/stlport/test/eh/cray.mak
rhodes-7.4.1 platform/shared/stlport/test/eh/cray.mak
rhodes-7.1.17 platform/shared/stlport/test/eh/cray.mak
rhodes-6.2.0 platform/shared/stlport/test/eh/cray.mak
rhodes-6.0.11 platform/shared/stlport/test/eh/cray.mak
rhodes-5.5.18 platform/shared/stlport/test/eh/cray.mak
rhodes-5.5.17 platform/shared/stlport/test/eh/cray.mak
rhodes-5.5.15 platform/shared/stlport/test/eh/cray.mak
rhodes-5.5.0.22 platform/shared/stlport/test/eh/cray.mak
rhodes-5.5.2 platform/shared/stlport/test/eh/cray.mak
rhodes-5.5.0.7 platform/shared/stlport/test/eh/cray.mak
rhodes-5.5.0.3 platform/shared/stlport/test/eh/cray.mak
rhodes-5.5.0 platform/shared/stlport/test/eh/cray.mak
tauplatform-1.0.3 platform/shared/stlport/test/eh/cray.mak
tauplatform-1.0.2 platform/shared/stlport/test/eh/cray.mak
tauplatform-1.0.1 platform/shared/stlport/test/eh/cray.mak
rhodes-3.5.1.12 platform/shared/stlport/test/eh/cray.mak
rhodes-3.3.5 platform/shared/stlport/test/eh/cray.mak
rhodes-3.4.2 platform/shared/stlport/test/eh/cray.mak