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

Private GIT Repository
add cmac version
[Cipher_code.git] / OneRoundIoT / openssl / Makefile
index c3cf5b7e653839785c6aa2078f8ead39a7c2dba8..b2f769ed2efce8085360d81616e3fedce39ff049 100644 (file)
@@ -1,14 +1,19 @@
 C=gcc
 CFLAGS= -I /usr/include/openssl/ -lcrypto -O3 -std=c99
 OBJ =    pixmap_io.o openssl_evp.o
 C=gcc
 CFLAGS= -I /usr/include/openssl/ -lcrypto -O3 -std=c99
 OBJ =    pixmap_io.o openssl_evp.o
+OBJ2 =    pixmap_io.o openssl_evp_cmac.o 
 
 
 openssl_evp: $(OBJ)
        $(C) -o $@ $^ $(CFLAGS)
 
 
 
 openssl_evp: $(OBJ)
        $(C) -o $@ $^ $(CFLAGS)
 
+openssl_evp_cmac: $(OBJ2)
+       $(C) -o $@ $^ $(CFLAGS)
+
 %.o: %.c 
        $(C) -c -o $@ $< 
 
 
 clean:
 %.o: %.c 
        $(C) -c -o $@ $< 
 
 
 clean:
-       rm -rf $(OBJ)  openssl_evp
+       rm -rf $(OBJ)  openssl_evp openssl_evp_cmac