diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in index 90d83616684459bbb683f5497bd634768bee397c..d0e1d1924147bf0b15ee476a62eef284a19257cb 100644 --- a/testsuite/Makefile.in +++ b/testsuite/Makefile.in @@ -38,10 +38,15 @@ DISTFILES = $(SOURCES) Makefile.in $(TS_SH) run-tests teardown-env \ all: $(TARGETS) $(EXTRA_TARGETS) +.SUFFIXES: -test.c -test.$(OBJEXT) -test$(EXEEXT) + .c.$(OBJEXT): $(COMPILE) -I.. -c $< && $(DEP_PROCESS) -.$(OBJEXT)$(EXEEXT): +-test.c-test.$(OBJEXT): + $(COMPILE) -I.. -c $< && $(DEP_PROCESS) + +-test.$(OBJEXT)-test$(EXEEXT): $(LINK) $< testutils.o -lnettle $(LIBS) -o $@ $(TARGETS) $(EXTRA_TARGETS) : testutils.$(OBJEXT) ../libnettle.a