commit dde139ab1f9c1f6ce764d27bf8ebe7b0de815a5f Author: TriantaTV Date: Mon Oct 31 15:38:39 2022 -0500 Initial Commit diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3f3cfcf --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +INC := -I include + +all: compile link + +compile: + gcc $(INC) -c -o build/main.o src/main.c + +link: + gcc -o bin/stuffy.out build/*.o + +exec: compile link + ./bin/stuffy.out + +debug: clean debugCompile debugLink + +debugCompile: + gcc $(INC) -g -c -o build/main.o src/main.c + +debugLink: + gcc -g -o bin/stuffy.out build/*.o + +clean: + rm build/*.o + rm bin/*.out diff --git a/bin/.keep b/bin/.keep new file mode 100644 index 0000000..e69de29 diff --git a/build/.keep b/build/.keep new file mode 100644 index 0000000..e69de29 diff --git a/include/stuffy.h b/include/stuffy.h new file mode 100644 index 0000000..e69de29 diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..6a02374 --- /dev/null +++ b/src/main.c @@ -0,0 +1,7 @@ +#include "stuffy.h" + +int main(int argc, char* argv[]) +{ + Stuffy(argc, argv); + return 0; +} diff --git a/src/stuffy.c b/src/stuffy.c new file mode 100644 index 0000000..e69de29