Sha256: e0a40b0c9137e80fa19cc0eda5e68b2445383bf77d26d46bf17e38243779aea3

Contents?: true

Size: 1.74 KB

Versions: 2

Compression:

Stored size: 1.74 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_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_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_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_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.0dev5 ext/ruby_ndtypes/ndtypes/libndtypes/tests/Makefile.in
ndtypes-0.2.0dev4 ext/ruby_ndtypes/ndtypes/libndtypes/tests/Makefile.in