Commit 06dde38
src/01/main.c → src/01/test.c
File renamed without changes
Makefile
@@ -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)