From c39c57090eb622453234ac059e0604c8c143941f Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 29 Jun 2020 12:31:23 -0600 Subject: Make `all` the default --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 978d3f2..2089a4c 100755 --- a/Makefile +++ b/Makefile @@ -10,12 +10,6 @@ OBJS := $(addprefix $(BUILDDIR)/,priority_queue_test.o stack_test.o min_stack_te $(BUILDDIR)/%.o : src/01/%.c $(COMPILE.c) $(OUTPUT_OPTION) $< -test : all - cgreen-runner -c -v $(BUILDDIR)/program - -ci : all - cgreen-runner -c -v --xml=$(BUILDDIR)/ $(BUILDDIR)/program - .PHONY: all all: $(OBJS) $(BUILDDIR)/html $(CC) $(OBJS) $(LIBS) -o $(BUILDDIR)/program @@ -31,3 +25,9 @@ $(BUILDDIR)/html : .PHONY: clean clean: rm -fr build + +test : all + cgreen-runner -c -v $(BUILDDIR)/program + +ci : all + cgreen-runner -c -v --xml=$(BUILDDIR)/ $(BUILDDIR)/program -- cgit v1.2.3