summaryrefslogtreecommitdiff
path: root/myfind/user_belong/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'myfind/user_belong/Makefile')
-rw-r--r--myfind/user_belong/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/myfind/user_belong/Makefile b/myfind/user_belong/Makefile
new file mode 100644
index 0000000..ca37a55
--- /dev/null
+++ b/myfind/user_belong/Makefile
@@ -0,0 +1,17 @@
+CC = gcc CFLAGS = -std = c99 - pedantic - Werror - Wall - Wextra
+ - Wvla
+
+ SRC = user_belong.c OBJ = $(SRC
+ :.c =.o)
+
+ all
+ : $(OBJ) $(CC)
+ - o user_belong $(OBJ)
+
+ $(OBJ)
+ : $(SRC)
+
+ .PHONY
+ : clean
+
+ clean : $(RM) $(OBJ) user_belong