From b8baab1ef58b3bbb25caafa9f0d808f503528832 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Wed, 1 Apr 2015 02:04:11 +0000 Subject: restructure tests: check-tree, check-package, check-install; add Valgrind facility; doesn't overwrite prior test results git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2443 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- test/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index 4d44285f..9b7ab047 100644 --- a/test/Makefile +++ b/test/Makefile @@ -12,8 +12,12 @@ PROGS = testrandom all: $(PROGS) -PORTBINARIES = testrandom -OBJECTS = $(PORTBINARIES:%=%.o) +testrandom.o: testrandom.c + $(CC_FOR_BUILD) -c -o $@ $(CFLAGS_FOR_BUILD) $< + +testrandom: testrandom.o + $(LD_FOR_BUILD) -o $@ $(LDFLAGS_FOR_BUILD) $< + OMIT_TEST_RULE = 1 include $(SRCDIR)/common.mk -- cgit 1.4.1