Skip to content

Commit

Permalink
Handle tests in subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Wales committed Mar 7, 2014
1 parent 5562ea4 commit d2504fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ bin/%: obj/%.o $$(OBJREQ_%.o)
$(TESTS):$(PFUNIT)/include/driver.F90
test/%: obj/%.o $$(OBJREQ_obj/%.o)
@mkdir -p $(dir $@)
$(FC) $(FCFLAGS) $(TESTFCFLAGS) $(LDFLAGS) -L$(PFUNIT)/lib -DUSE_MPI -DSUITE=$*_suite -o $@ $^ $(LDLIBS) -lpfunit
$(FC) $(FCFLAGS) $(TESTFCFLAGS) $(LDFLAGS) -L$(PFUNIT)/lib -DUSE_MPI -DSUITE=$(notdir $*)_suite -o $@ $^ $(LDLIBS) -lpfunit

# Dependency generation
deps/%.d: %.f90
Expand Down

0 comments on commit d2504fc

Please sign in to comment.