summaryrefslogtreecommitdiff
path: root/set1/Makefile
diff options
context:
space:
mode:
authorBenedict <benedict@0xb8000.de>2017-02-21 12:52:02 +0100
committerBenedict <benedict@0xb8000.de>2017-02-21 13:00:25 +0100
commitddce9b2d44ab48fc566870c5155b39c8fc06f24d (patch)
tree61e6f8d636190ef19f75bfd9cd8e4861ee04cf4f /set1/Makefile
parentf71df313c4480fb3edd91edb572d8013bec6d352 (diff)
moved files of set1 into subdir
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