]> AND Private Git Repository - Cipher_code.git/blob - OneRoundIoT/openssl/Makefile
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
ccm qui bug
[Cipher_code.git] / OneRoundIoT / openssl / Makefile
1 C=gcc
2 CFLAGS= -I /usr/include/openssl/ -lcrypto -O3 -std=c99
3 OBJ =    pixmap_io.o openssl_evp.o
4 OBJ2 =    pixmap_io.o openssl_evp_cmac.o
5 OBJ3 =    pixmap_io.o openssl_evp_ccm.o
6 OBJ4 =    pixmap_io.o aesccm.o 
7
8
9 openssl_evp: $(OBJ)
10         $(C) -o $@ $^ $(CFLAGS)
11
12 openssl_evp_cmac: $(OBJ2)
13         $(C) -o $@ $^ $(CFLAGS)
14
15 openssl_evp_ccm: $(OBJ3)
16         $(C) -o $@ $^ $(CFLAGS)
17
18 aesccm: $(OBJ4)
19         $(C) -o $@ $^ $(CFLAGS)
20
21 %.o: %.c 
22         $(C) -c -o $@ $< 
23
24
25 clean:
26         rm -rf $(OBJ)  openssl_evp openssl_evp_cmac openssl_evp_ccm
27