summaryrefslogtreecommitdiff
path: root/set1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'set1/Makefile')
-rw-r--r--set1/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/set1/Makefile b/set1/Makefile
new file mode 100644
index 0000000..6c0f149
--- /dev/null
+++ b/set1/Makefile
@@ -0,0 +1,25 @@
+LIB=../lib/lib.c
+CC=gcc
+CFLAGS := -g -Wall $(CFLAGS)
+
+all: task1 task2 task4 task5 task6 task7
+
+task1:
+ $(CC) $(CFLAGS) task1.c $(LIB) -o task1
+
+task2:
+ $(CC) $(CFLAGS) task2.c $(LIB) -o task2
+
+task4:
+ $(CC) $(CFLAGS) task4.c $(LIB) -o task4
+
+task5:
+ $(CC) $(CFLAGS) task5.c $(LIB) -o task5
+
+task6:
+ $(CC) $(CFLAGS) task6.c $(LIB) -o task6
+
+task7:
+ $(CC) $(CFLAGS) task7.c `pkg-config --cflags --libs libcrypto` -o task7
+clean:
+ rm task1 task2 task4 task5 task6 task7