diff options
| author | Benedict <benedict@0xb8000.de> | 2016-03-15 20:04:19 +0100 |
|---|---|---|
| committer | Benedict <benedict@0xb8000.de> | 2017-02-21 13:00:24 +0100 |
| commit | 236d0ee8acedc2535a4a973acd99a708b530a053 (patch) | |
| tree | a6698a61919cc47d5f922f948768687129ccad53 | |
| parent | 14e3b0e4f801f6fdbd6be941a2022e4e665d88eb (diff) | |
addded cflag variabel in Makefile
| -rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,22 +1,25 @@ LIB=lib.c CC=gcc +CFLAGS := -g $(CFLAGS) all: task1 task2 task4 task5 task6 task1: - $(CC) task1.c $(LIB) -o task1 + $(CC) $(CFLAGS) task1.c $(LIB) -o task1 task2: - $(CC) task2.c $(LIB) -o task2 + $(CC) $(CFLAGS) task2.c $(LIB) -o task2 task4: - $(CC) task4.c $(LIB) -o task4 + $(CC) $(CFLAGS) task4.c $(LIB) -o task4 task5: - $(CC) task5.c $(LIB) -o task5 + $(CC) $(CFLAGS) task5.c $(LIB) -o task5 task6: - $(CC) task6.c $(LIB) -o 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 |
