aboutsummaryrefslogtreecommitdiff
path: root/fptr_ast/Makefile
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-08-31 14:25:07 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2025-08-31 14:25:07 +0300
commita0c6ff2c222beb72493f2e40ed27492061dfdf22 (patch)
treea3a8c8279135fb92e3032dc85e9e4c6a06ca71e2 /fptr_ast/Makefile
downloadplayground-a0c6ff2c222beb72493f2e40ed27492061dfdf22.tar.gz
playground-a0c6ff2c222beb72493f2e40ed27492061dfdf22.zip
initial fptr ast programs
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