Update template

This commit is contained in:
Jiří Štefka 2022-12-06 09:50:58 +01:00
parent 8e74944ca2
commit e3036af5e3
2 changed files with 10 additions and 2 deletions

@ -27,7 +27,7 @@ INCLUDE := include
LIB := lib LIB := lib
ifeq ($(OS),Windows_NT) ifeq ($(OS),Windows_NT)
MAIN := cluster.exe MAIN := main.exe
SOURCEDIRS := $(SRC) SOURCEDIRS := $(SRC)
INCLUDEDIRS := $(INCLUDE) INCLUDEDIRS := $(INCLUDE)
LIBDIRS := $(LIB) LIBDIRS := $(LIB)
@ -35,7 +35,7 @@ FIXPATH = $(subst /,\,$1)
RM := del /q /f RM := del /q /f
MD := mkdir MD := mkdir
else else
MAIN := cluster MAIN := main
SOURCEDIRS := $(shell find $(SRC) -type d) SOURCEDIRS := $(shell find $(SRC) -type d)
INCLUDEDIRS := $(shell find $(INCLUDE) -type d) INCLUDEDIRS := $(shell find $(INCLUDE) -type d)
LIBDIRS := $(shell find $(LIB) -type d) LIBDIRS := $(shell find $(LIB) -type d)

8
C_Tempate/src/main.c Normal file

@ -0,0 +1,8 @@
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
printf("Hello world!\n");
return 0;
}