From 752675bc0c9ba6082038bc25cefe838c1f58b5de Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 31 Aug 2025 14:45:52 +0300 Subject: free resources --- fptr_ast/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'fptr_ast/Makefile') diff --git a/fptr_ast/Makefile b/fptr_ast/Makefile index 530e543..68cc338 100644 --- a/fptr_ast/Makefile +++ b/fptr_ast/Makefile @@ -1,10 +1,14 @@ all: struct fptr ref struct: struct.c main.c common.h - $(CC) -Wall -Wextra -g -O2 -Ideps/conts/include -DSTRUCT main.c -o struct + $(CC) $(CFLAGS) -Wall -Wextra -g -O2 -Ideps/conts/include -DSTRUCT main.c -o struct fptr: fptr.c main.c common.h - $(CC) -Wall -Wextra -g -O2 -Ideps/conts/include -DFPTR main.c -o fptr + $(CC) $(CFLAGS) -Wall -Wextra -g -O2 -Ideps/conts/include -DFPTR main.c -o fptr ref: ref.c common.h - $(CC) -Wall -Wextra -g -O2 ref.c -o ref + $(CC) $(CFLAGS) -Wall -Wextra -g -O2 ref.c -o ref + +.PHONY: clean +clean: + rm struct fptr ref -- cgit v1.2.3