This repository has been archived on 2026-05-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
prog-103-p-04-2030/HolidayTrip/Fundamentals/reap_and_tear/Makefile
T
2026-02-11 13:20:47 +01:00

17 lines
332 B
Makefile

CC=gcc
SRC = villager.c demon.c weapons.c print.c main.c
CFLAGS= -Wall -Wextra -Werror
LDFLAGS= -fsanitize=address -g -lm
# Computes the basic main for tests
main: ${SRC}
gcc $(CFLAGS) $^ -o main -lm
#Check for memory errors/leaks and to use gdb
debug: ${SRC}
gcc $(CFLAGS) $^ -o debug $(LDFLAGS)
clean:
$(RM) main debug