aboutsummaryrefslogtreecommitdiff
path: root/fptr_ast/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fptr_ast/Makefile')
-rw-r--r--fptr_ast/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/fptr_ast/Makefile b/fptr_ast/Makefile
new file mode 100644
index 0000000..530e543
--- /dev/null
+++ b/fptr_ast/Makefile
@@ -0,0 +1,10 @@
+all: struct fptr ref
+
+struct: struct.c main.c common.h
+ $(CC) -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
+
+ref: ref.c common.h
+ $(CC) -Wall -Wextra -g -O2 ref.c -o ref