Browse Source

Makefile: Add 'make test'

Georgi Chorbadzhiyski 6 years ago
parent
commit
8cced6de0c
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Makefile

+ 4
- 1
Makefile View File

51
 CLEAN_OBJS = videohubctrl $(videohubctrl_SRC:.c=.o) $(videohubctrl_SRC:.c=.d) test/*.out
51
 CLEAN_OBJS = videohubctrl $(videohubctrl_SRC:.c=.o) $(videohubctrl_SRC:.c=.d) test/*.out
52
 DISTCLEAN_OBJS = version.h
52
 DISTCLEAN_OBJS = version.h
53
 
53
 
54
-.PHONY: distclean clean version install uninstall
54
+.PHONY: distclean clean version install uninstall test
55
 
55
 
56
 PROGS=videohubctrl
56
 PROGS=videohubctrl
57
 
57
 
65
 
65
 
66
 all: version
66
 all: version
67
 
67
 
68
+test:
69
+	test/run
70
+
68
 $(FUNCS_LIB): $(FUNCS_DIR)/libfuncs.h
71
 $(FUNCS_LIB): $(FUNCS_DIR)/libfuncs.h
69
 	$(SAY) "  MAKE	$(FUNCS_LIB)"
72
 	$(SAY) "  MAKE	$(FUNCS_LIB)"
70
 	$(Q)$(MAKE) -s -C $(FUNCS_DIR)
73
 	$(Q)$(MAKE) -s -C $(FUNCS_DIR)

Loading…
Cancel
Save