Feat: Add main and Makefile

This commit is contained in:
Dorian Zedler 2022-06-28 13:59:17 +02:00
parent f197de4b7f
commit 6c3d15232b
Signed by: dorian
GPG key ID: 989DE36109AFA354
2 changed files with 17 additions and 0 deletions

14
Implementierung/Makefile Normal file
View file

@ -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

3
Implementierung/main.c Normal file
View file

@ -0,0 +1,3 @@
int main(int argc, char* argv) {
return 0;
}