gra-projekt/Implementierung/Makefile

14 lines
167 B
Makefile

FLAGS=-O3 -std=c11 -g -Wall -Wextra -no-pie
.PHONY: all
all: main
main: main.c
$(CC) $(CFLAGS) -o $@ $^
.PHONY: clean
clean:
rm -f main
.PHONY: run
run:
./main