gra-projekt/Implementierung/Makefile

15 lines
167 B
Makefile
Raw Normal View History

2022-06-28 13:59:17 +02:00
FLAGS=-O3 -std=c11 -g -Wall -Wextra -no-pie
.PHONY: all
2022-06-28 15:28:04 +02:00
all: main
main: main.c
2022-06-28 13:59:17 +02:00
$(CC) $(CFLAGS) -o $@ $^
.PHONY: clean
2022-06-28 15:28:04 +02:00
clean:
rm -f main
2022-06-28 13:59:17 +02:00
.PHONY: run
2022-06-28 15:28:04 +02:00
run:
./main