summaryrefslogtreecommitdiffstats
path: root/01_exercise/Makefile
diff options
context:
space:
mode:
authorStefan Zabka <zabkaste@hu-berlin.de>2020-04-29 18:20:55 +0200
committerStefan Zabka <zabkaste@hu-berlin.de>2020-04-29 18:20:55 +0200
commit5b4ed0301c3b2786ef6043e0c48e49eca368c692 (patch)
tree22f338f86004ff428290812339d4dd4a00b88861 /01_exercise/Makefile
parenta72be9093d5d261822ede23a2072fc57f78331a3 (diff)
downloadbetriebssysteme-5b4ed0301c3b2786ef6043e0c48e49eca368c692.tar.gz
betriebssysteme-5b4ed0301c3b2786ef6043e0c48e49eca368c692.zip
clang-format now runs in makefile
Diffstat (limited to '01_exercise/Makefile')
-rw-r--r--01_exercise/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/01_exercise/Makefile b/01_exercise/Makefile
index 4bf8198..3576c2b 100644
--- a/01_exercise/Makefile
+++ b/01_exercise/Makefile
@@ -8,6 +8,7 @@ CFLAGS = -m32 -c -Os -march=i686 -ffreestanding -Wall -Werror
LFLAGS = -m elf_i386 -static -Tlinker.ld -nostdlib --nmagic
%.o: %.c
+ clang-format -i $^
$(CC) $(CFLAGS) $^ -o $@
%.elf: %.o