Sha256: 02d8d191fe4b7a25b4c40db00e92a408f389de21dd285573e3264c436dd1168f

Contents?: true

Size: 1.79 KB

Versions: 2

Compression:

Stored size: 1.79 KB

Contents

SRCDIR = ..

CC = @CC@

LIBSTATIC = @LIBSTATIC@
LIBSHARED = @LIBSHARED@

CONFIGURE_CFLAGS = @CONFIGURE_CFLAGS@
NDT_CFLAGS = $(strip $(CONFIGURE_CFLAGS) $(CFLAGS))

CONFIGURE_COV_CFLAGS = @CONFIGURE_COV_CFLAGS@
CONFIGURE_COV_LDFLAGS = @CONFIGURE_COV_LDFLAGS@
ifeq ($(MAKECMDGOALS), coverage)
  NDT_CFLAGS = $(strip $(CONFIGURE_COV_CFLAGS) $(CFLAGS))
  NDT_LDFLAGS = $(strip $(CONFIGURE_COV_LDFLAGS) $(LDFLAGS))
endif


default: runtest runtest_shared

coverage: runtest runtest_shared


runtest:\
Makefile runtest.c alloc_fail.c test_parse.c test_parse_error.c test_parse_roundtrip.c \
test_indent.c test_typecheck.c test_numba.c test_typedef.c test_match.c test_unify.c \
test_record.c test_buffer.c test.h alloc_fail.h \
$(SRCDIR)/ndtypes.h $(SRCDIR)/$(LIBSTATIC)
	$(CC) -DTEST_ALLOC $(NDT_CFLAGS) -o runtest runtest.c \
            alloc_fail.c test_parse.c test_parse_error.c test_parse_roundtrip.c \
            test_indent.c test_typedef.c test_match.c test_unify.c test_typecheck.c \
            test_numba.c test_record.c test_array.c test_buffer.c $(SRCDIR)/$(LIBSTATIC)

runtest_shared:\
Makefile runtest.c alloc_fail.c test_parse.c test_parse_error.c test_parse_roundtrip.c \
test_indent.c test_typecheck.c test_numba.c test_typedef.c test_match.c test_unify.c \
test_record.c test_buffer.c test.h alloc_fail.h \
$(SRCDIR)/ndtypes.h $(SRCDIR)/$(LIBSHARED)
	$(CC) -L$(SRCDIR) -DTEST_ALLOC $(NDT_CFLAGS) -o runtest_shared runtest.c \
            alloc_fail.c test_parse.c test_parse_error.c test_parse_roundtrip.c \
            test_indent.c test_typedef.c test_match.c test_unify.c test_typecheck.c \
            test_numba.c test_record.c test_array.c test_buffer.c -lndtypes


FORCE:

clean: FORCE
	rm -f *.o *.gch *.gcda *.gcno *.gcov *.dyn *.dpi *.lock
	rm -f runtest runtest_shared

distclean: clean
	rm -rf Makefile


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ndtypes-0.2.0dev8 ext/ruby_ndtypes/ndtypes/libndtypes/tests/Makefile.in
ndtypes-0.2.0dev6 ext/ruby_ndtypes/ndtypes/libndtypes/tests/Makefile.in