From 6c3d15232b0fd23e253e7558d5105e2b9ec72fef Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Tue, 28 Jun 2022 13:59:17 +0200 Subject: [PATCH] Feat: Add main and Makefile --- Implementierung/Makefile | 14 ++++++++++++++ Implementierung/main.c | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 Implementierung/Makefile create mode 100644 Implementierung/main.c diff --git a/Implementierung/Makefile b/Implementierung/Makefile new file mode 100644 index 0000000..d6b448b --- /dev/null +++ b/Implementierung/Makefile @@ -0,0 +1,14 @@ +FLAGS=-O3 -std=c11 -g -Wall -Wextra -no-pie + +.PHONY: all + all: main +main: main.c toupper.S + $(CC) $(CFLAGS) -o $@ $^ + +.PHONY: clean + clean: + rm -f main + +.PHONY: run + run: + ./main diff --git a/Implementierung/main.c b/Implementierung/main.c new file mode 100644 index 0000000..0eafbf0 --- /dev/null +++ b/Implementierung/main.c @@ -0,0 +1,3 @@ +int main(int argc, char* argv) { + return 0; +}