diff options
| author | mo khan <mo.khan@gmail.com> | 2020-06-29 12:31:23 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-06-29 12:31:23 -0600 |
| commit | c39c57090eb622453234ac059e0604c8c143941f (patch) | |
| tree | e317896e3d5a9682c75e4b4a3db70859ba80c721 /Makefile | |
| parent | 8257643c54d840ebf80c317e3dcfc8110f453c95 (diff) | |
Make `all` the default
Diffstat (limited to 'Makefile')
| -rwxr-xr-x | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |
