gameoflife-appleii/Makefile
Christophe Meneboeuf f3f133adaa Minor commentss
2016-09-13 22:57:17 +02:00

21 lines
345 B
Makefile
Executable File

CC := cc
SRC := gol.c
CFLAGS := -Wall -Wextra -pedantic-errors -ansi -std=gnu99 -lncurses -lm
DFLAGS := -g -pg -O0
OUT := gol
all: std
std: $(SRC)
$(CC) -O3 -o $(OUT) $? $(CFLAGS) $(DFLAGS)
clean: $(SRC)
rm -f $(OUT) gmon.out
debug: $(SRC)
$(CC) $(CFLAGS) $(DFLAGS) -o $(OUT) $?
install: std
install $(OUT) $(INSTALL)
strip $(INSTALL)