about summary refs log tree commit diff
path: root/test/Makefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-04-01 02:04:11 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-04-01 02:04:11 +0000
commitb8baab1ef58b3bbb25caafa9f0d808f503528832 (patch)
tree17c6645d660f197e202bab8e9c6d8b6e25b6c45d /test/Makefile
parent22a5accc85c58382f3ded1fe7f637488987819c9 (diff)
downloadnetpbm-mirror-b8baab1ef58b3bbb25caafa9f0d808f503528832.tar.gz
netpbm-mirror-b8baab1ef58b3bbb25caafa9f0d808f503528832.tar.xz
netpbm-mirror-b8baab1ef58b3bbb25caafa9f0d808f503528832.zip
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
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile8
1 files changed, 6 insertions, 2 deletions
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