diff options
Diffstat (limited to 'tests/dnn/Makefile')
-rw-r--r-- | tests/dnn/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/dnn/Makefile b/tests/dnn/Makefile new file mode 100644 index 0000000000..b2e668003f --- /dev/null +++ b/tests/dnn/Makefile @@ -0,0 +1,11 @@ +DNNTESTPROGS += dnn-layer-pad + +DNNTESTOBJS := $(DNNTESTOBJS:%=$(DNNTESTSDIR)%) $(DNNTESTPROGS:%=$(DNNTESTSDIR)/%-test.o) +DNNTESTPROGS := $(DNNTESTPROGS:%=$(DNNTESTSDIR)/%-test$(EXESUF)) +-include $(wildcard $(DNNTESTOBJS:.o=.d)) + +$(DNNTESTPROGS): %$(EXESUF): %.o $(FF_DEP_LIBS) + $(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(filter %.o,$^) $(FF_EXTRALIBS) $(ELIBS) + +testclean:: + $(RM) $(addprefix $(DNNTESTSDIR)/,$(CLEANSUFFIXES) *-test$(EXESUF)) |