diff --git a/C_Tempate/Makefile b/C_Tempate/Makefile index 0b969f8..3f27a58 100644 --- a/C_Tempate/Makefile +++ b/C_Tempate/Makefile @@ -27,7 +27,7 @@ INCLUDE := include LIB := lib ifeq ($(OS),Windows_NT) -MAIN := cluster.exe +MAIN := main.exe SOURCEDIRS := $(SRC) INCLUDEDIRS := $(INCLUDE) LIBDIRS := $(LIB) @@ -35,7 +35,7 @@ FIXPATH = $(subst /,\,$1) RM := del /q /f MD := mkdir else -MAIN := cluster +MAIN := main SOURCEDIRS := $(shell find $(SRC) -type d) INCLUDEDIRS := $(shell find $(INCLUDE) -type d) LIBDIRS := $(shell find $(LIB) -type d) diff --git a/C_Tempate/src/main.c b/C_Tempate/src/main.c new file mode 100644 index 0000000..e8178a6 --- /dev/null +++ b/C_Tempate/src/main.c @@ -0,0 +1,8 @@ +#include +#include + +int main(int argc, char *argv[]) +{ + printf("Hello world!\n"); + return 0; +}