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

View File

@ -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)

8
C_Tempate/src/main.c Normal file
View File

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