We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6128f61 commit 230d6f3Copy full SHA for 230d6f3
Makefile
@@ -0,0 +1,20 @@
1
+.PHONY: all clean
2
+
3
+CC = gcc
4
+CFLAGS = -c -Wall -Wextra -Wpedantic
5
6
+all: buildProject
7
8
+buildProject: ./build/PKCS7.o ./build/PKCS7_test.out
9
10
+./build/PKCS7.o: ./src/PKCS7.c ./include/PKCS7.h
11
+ $(CC) $(CFLAGS) ./src/PKCS7.c -o ./build/PKCS7.o
12
13
+./build/PKCS7_test.o: ./test/PKCS7_test.c ./test/PKCS7_test.h ./include/PKCS7.h
14
+ $(CC) $(CFLAGS) ./test/PKCS7_test.c -o ./build/PKCS7_test.o
15
16
+./build/PKCS7_test.out: ./build/PKCS7_test.o ./build/PKCS7.o
17
+ $(CC) ./build/PKCS7_test.o ./build/PKCS7.o -o ./build/PKCS7_test.out
18
19
+clean:
20
+ rm -f ./build/*.o ./build/*.out
build/.gitkeep
0 commit comments