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 OBJ5 = pixmap_io.o openssl_evp_gcm.o
8 OBJ6 = pixmap_io.o openssl_evp_hmac.o
9 OBJ7 = pixmap_io.o openssl_evp_ocb.o
12 $(C) -o $@ $^ $(CFLAGS)
14 openssl_evp_cmac: $(OBJ2)
15 $(C) -o $@ $^ $(CFLAGS)
17 openssl_evp_ccm: $(OBJ3)
18 $(C) -o $@ $^ $(CFLAGS)
21 $(C) -o $@ $^ $(CFLAGS)
24 openssl_evp_gcm: $(OBJ5)
25 $(C) -o $@ $^ $(CFLAGS)
27 openssl_evp_hmac: $(OBJ6)
28 $(C) -o $@ $^ $(CFLAGS)
30 openssl_evp_ocb: $(OBJ7)
31 $(C) -o $@ $^ $(CFLAGS)
39 rm -rf $(OBJ) openssl_evp openssl_evp_cmac openssl_evp_ccm openssl_evp_ocb