diff options
| author | mo khan <mo.khan@gmail.com> | 2020-06-28 17:19:29 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-06-28 17:19:29 -0600 |
| commit | 06dde3865c34cc1b8357e332ac5af127d53072c2 (patch) | |
| tree | b0dc7e6b678ad9ad0dcb89830193654181506c0e /Makefile | |
| parent | 95137a63a75dc2aa51a695ed2f80e9ad73bf8f48 (diff) | |
Rename main.c to test.c
Diffstat (limited to 'Makefile')
| -rwxr-xr-x | Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -5,23 +5,20 @@ CC=gcc LIBS = -lcgreen BUILDDIR := build -OBJS := $(addprefix $(BUILDDIR)/,priority_queue_test.o stack_test.o min_stack_test.o swap_singly_linked_list_test.o swap_doubly_linked_list_test.o main.o) - -#doc : doc/ -#doxygen Doxyfile +OBJS := $(addprefix $(BUILDDIR)/,priority_queue_test.o stack_test.o min_stack_test.o swap_singly_linked_list_test.o swap_doubly_linked_list_test.o test.o) $(BUILDDIR)/%.o : src/01/%.c $(COMPILE.c) $(OUTPUT_OPTION) $< test : all - cgreen-runner -c $(BUILDDIR)/main + cgreen-runner -c $(BUILDDIR)/program ci : all - cgreen-runner -c --xml=$(BUILDDIR)/ $(BUILDDIR)/main + cgreen-runner -c --xml=$(BUILDDIR)/ $(BUILDDIR)/program .PHONY: all all: $(OBJS) $(BUILDDIR)/html - $(CC) $(OBJS) $(LIBS) -o $(BUILDDIR)/main + $(CC) $(OBJS) $(LIBS) -o $(BUILDDIR)/program $(OBJS): | $(BUILDDIR) |
