diff --git a/src/bin/Makefile b/src/bin/Makefile new file mode 100644 index 0000000..56d2e68 --- /dev/null +++ b/src/bin/Makefile @@ -0,0 +1,8 @@ +OBJS = main.c +CC = gcc +C_FLAGS = -w -pedantic +OBJ_NAME = main + +all: $(OBJS) + $(CC) $(OBJS) $(C_FLAGS) -o $(OBJ_NAME) + diff --git a/src/bin/main b/src/bin/main new file mode 100755 index 0000000..e6da701 Binary files /dev/null and b/src/bin/main differ diff --git a/src/bin/main.c b/src/bin/main.c new file mode 100644 index 0000000..de8da2b --- /dev/null +++ b/src/bin/main.c @@ -0,0 +1,22 @@ +#include + +int main(int argc, char ** argv[]) { + + + + if(argc < 2) + { + printf("\nArgument(s) required, use -h for display help\n"); + } + else if(strcmp(argv[1], "-h") == 0) + { + printf("\n Fixme: Add optionsi\n"); + } + else + { + printf("\nuwu"); + } + + + return 0; +}