diff --git a/ex01/ex01.c b/ex01/ex01.c new file mode 100644 index 0000000000000000000000000000000000000000..899e4dbb27b1b82dbd3c23506b0fa4df0a61c9cf --- /dev/null +++ b/ex01/ex01.c @@ -0,0 +1,13 @@ +/** + * Adrian Spycher + * Question 01 + */ + +#include <stdlib.h> +#include <stdio.h> + +int main() +{ + + return 0; +} diff --git a/ex01/makefile b/ex01/makefile new file mode 100644 index 0000000000000000000000000000000000000000..52da3a4b938e1ba27b80e387a35c8219f4213184 --- /dev/null +++ b/ex01/makefile @@ -0,0 +1,12 @@ +CC:=gcc +CFLAGS:=-g -O3 -Wall -Wextra -pedantic -fsanitize=address -fsanitize=leak +LDFLAGS:=-lm -lSDL2 +NAME:=ex01 + +$(NAME): ex01.o + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + +clean: + rm -f *.o $(NAME) + +rebuild: clean $(NAME) \ No newline at end of file diff --git a/ex02/ex02.c b/ex02/ex02.c new file mode 100644 index 0000000000000000000000000000000000000000..310abba9bd6efb57c1c76a2bd75391154d22a92f --- /dev/null +++ b/ex02/ex02.c @@ -0,0 +1,13 @@ +/** + * Adrian Spycher + * Question 02 + */ + +#include <stdlib.h> +#include <stdio.h> + +int main() +{ + + return 0; +} diff --git a/ex02/makefile b/ex02/makefile new file mode 100644 index 0000000000000000000000000000000000000000..8e53b0e48e1f95039f860da0d99c749be36e486d --- /dev/null +++ b/ex02/makefile @@ -0,0 +1,12 @@ +CC:=gcc +CFLAGS:=-g -O3 -Wall -Wextra -pedantic -fsanitize=address -fsanitize=leak +LDFLAGS:=-lm -lSDL2 +NAME:=ex02 + +$(NAME): ex02.o + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + +clean: + rm -f *.o $(NAME) + +rebuild: clean $(NAME) \ No newline at end of file diff --git a/ex03/ex03.c b/ex03/ex03.c new file mode 100644 index 0000000000000000000000000000000000000000..6ee547b6377c16f332d221416e8b6b5ae92a7346 --- /dev/null +++ b/ex03/ex03.c @@ -0,0 +1,13 @@ +/** + * Adrian Spycher + * Question 03 + */ + +#include <stdlib.h> +#include <stdio.h> + +int main() +{ + + return 0; +} diff --git a/ex03/makefile b/ex03/makefile new file mode 100644 index 0000000000000000000000000000000000000000..de755c1644da3f261b5e8544635d8184fbc70e4f --- /dev/null +++ b/ex03/makefile @@ -0,0 +1,12 @@ +CC:=gcc +CFLAGS:=-g -O3 -Wall -Wextra -pedantic -fsanitize=address -fsanitize=leak +LDFLAGS:=-lm -lSDL2 +NAME:=ex03 + +$(NAME): ex03.o + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + +clean: + rm -f *.o $(NAME) + +rebuild: clean $(NAME) \ No newline at end of file diff --git a/ex04/ex04.c b/ex04/ex04.c new file mode 100644 index 0000000000000000000000000000000000000000..913d391380cf5fd053bb2b747475de1be5cc3186 --- /dev/null +++ b/ex04/ex04.c @@ -0,0 +1,13 @@ +/** + * Adrian Spycher + * Question 04 + */ + +#include <stdlib.h> +#include <stdio.h> + +int main() +{ + + return 0; +} diff --git a/ex04/makefile b/ex04/makefile new file mode 100644 index 0000000000000000000000000000000000000000..07220fc7fe57dedc1f7ae85bcae1a69a4084fafd --- /dev/null +++ b/ex04/makefile @@ -0,0 +1,12 @@ +CC:=gcc +CFLAGS:=-g -O3 -Wall -Wextra -pedantic -fsanitize=address -fsanitize=leak +LDFLAGS:=-lm -lSDL2 +NAME:=ex04 + +$(NAME): ex04.o + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + +clean: + rm -f *.o $(NAME) + +rebuild: clean $(NAME) \ No newline at end of file