summaryrefslogtreecommitdiff
path: root/c/dataStructure/408/graph/Makefile
diff options
context:
space:
mode:
authorgarhve <git@garhve.com>2022-12-05 19:43:39 +0800
committergarhve <git@garhve.com>2022-12-05 19:43:39 +0800
commitc6bc541ab58363d783e60a007e80e9bf9e231fda (patch)
treea59c7ed0d05225c5876f3e5e919d4f6ed0c447ff /c/dataStructure/408/graph/Makefile
initialize
Diffstat (limited to 'c/dataStructure/408/graph/Makefile')
-rwxr-xr-xc/dataStructure/408/graph/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/c/dataStructure/408/graph/Makefile b/c/dataStructure/408/graph/Makefile
new file mode 100755
index 0000000..d3565e8
--- /dev/null
+++ b/c/dataStructure/408/graph/Makefile
@@ -0,0 +1,18 @@
+CC = gcc
+FLGS = -Wall -Werror -g
+SRCS = *.c queue/queue.c
+OPT = graph
+
+all: link run clean
+
+link:
+ $(CC) $(SRCS) $(FLGS) -o $(OPT)
+
+run:
+ ./$(OPT)
+
+gdb: link
+ gdb ./$(OPT)
+
+clean:
+ rm $(OPT)