aboutsummaryrefslogtreecommitdiff
path: root/fptr_ast/Makefile
blob: 68cc338d4e0164465885550cd3cf8bae153386fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
all: struct fptr ref

struct: struct.c main.c common.h
	$(CC) $(CFLAGS) -Wall -Wextra -g -O2 -Ideps/conts/include -DSTRUCT main.c -o struct

fptr: fptr.c main.c common.h
	$(CC) $(CFLAGS) -Wall -Wextra -g -O2 -Ideps/conts/include -DFPTR main.c -o fptr

ref: ref.c common.h
	$(CC) $(CFLAGS) -Wall -Wextra -g -O2 ref.c -o ref

.PHONY: clean
clean:
	rm struct fptr ref