// Install Chocolatey
// Install cygwin
choco install make --source=cygwin
// add variable to path
"C: oolscygwinin"
# !!! DON'T FORGET TO REPLACE ALL SPACEBAR TO TAB BEFORE EACH "$(CC)" AND BEFORE "rm"
#variable declaration
CCFLAGS = -Wall
CC = gcc
# fordítási szabályok
example : help.o example.o
$(CC) help.o example.o -o example
help.o : help.c date.h help.h
$(CC) help.c -c $(CCFLAGS)
example.o : example.c date.h help.h
$(CC) example.c -c $(CCFLAGS)
# delete commands
.PHONY : clean
clean :
rm -f example help.o example.o core *~
#include <iostream>
using namespace std;
int main() {
cout << "If you are doing this with c/c++(mingw) try checking out this video! https://youtu.be/taCJhnBXG_w" << endl;
return 0;
}
//LINK: https://youtu.be/taCJhnBXG_w