diff options
Diffstat (limited to 'fptr_ast/Makefile')
-rw-r--r-- | fptr_ast/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
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 |