aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeonard Kugis <leonardkugis@gmail.com>2018-01-13 16:36:08 +0100
committerLeonard Kugis <leonardkugis@gmail.com>2018-01-13 16:36:08 +0100
commitd4c120217549f928a01ef5a69b3760851e1fda8d (patch)
treedad9e81d4918b66c67abb354788e834986c55dea /Makefile
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5a3d29f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+CC = gcc
+CFLAGS = -std=c99 -pedantic -Wall -Wextra
+
+all: blatt09_1_2.exe
+blatt09_1_2.exe: blatt09_1_2.o
+ $(CC) $(CFLAGS) -o blatt09_1_2.exe blatt09_1_2.o
+blatt09_1_2.o: blatt09_1_2.c blatt09_1_2.h defs.h
+ $(CC) $(CFLAGS) -c blatt09_1_2.c \ No newline at end of file