Commit 06dde38

mo khan <mo.khan@gmail.com>
2020-06-28 23:19:29
Rename main.c to test.c
1 parent 95137a6
Changed files (2)
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)