First/Makefile

12 lines
216 B
Makefile

all:first
first:gui.o main.o simdata.o
gcc -ggdb $^ -fsanitize=address -lncurses -ltinfo -o $@
%.o:%.c
gcc -ggdb -c $< -Wall -Wextra -Werror -fsanitize=address
.PHONY: clean
clean:
rm -f gui.o main.o simdata.o