summaryrefslogtreecommitdiff
path: root/c/dataStructure/408/tree/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'c/dataStructure/408/tree/Makefile')
-rwxr-xr-xc/dataStructure/408/tree/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/c/dataStructure/408/tree/Makefile b/c/dataStructure/408/tree/Makefile
new file mode 100755
index 0000000..85ea9c1
--- /dev/null
+++ b/c/dataStructure/408/tree/Makefile
@@ -0,0 +1,17 @@
+CC = gcc
+SRC = *.c
+FLGS = -Wall -Werror -g
+OPT = ./tree
+
+ALL: link run clean
+
+link:
+ @$(CC) $(SRC) $(FLGS) -o $(OPT)
+run:
+ $(OPT)
+
+gdb: link
+ gdb $(OPT)
+
+clean:
+ @rm $(OPT)