Feat: Add main and Makefile
This commit is contained in:
parent
f197de4b7f
commit
6c3d15232b
2 changed files with 17 additions and 0 deletions
14
Implementierung/Makefile
Normal file
14
Implementierung/Makefile
Normal 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
3
Implementierung/main.c
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
int main(int argc, char* argv) {
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in a new issue