From: Raphaƫl Couturier Date: Wed, 16 Jun 2021 12:46:27 +0000 (+0200) Subject: new X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/commitdiff_plain/d4f8c336045ad5a298df62e30d6c463ff1f1b5b7 new --- diff --git a/CipherImg/Makefile b/CipherImg/Makefile index 3b5eac3..a70f48e 100644 --- a/CipherImg/Makefile +++ b/CipherImg/Makefile @@ -3,15 +3,15 @@ C=gcc uname_m := $(shell uname -m) ifeq ($(uname_m),armv7l) -CFLAGS=-O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -lrt `pk + CFLAGS=-O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -lrt `pk g-config --cflags --libs glib-2.0` else -ifeq ($(uname_m),armv6l) -CFLAGS=-O3 -march=armv6 -mfpu=vfp -mfloat-abi=hard -lrt `pkg-config --cflags - + ifeq ($(uname_m),armv6l) + CFLAGS=-O3 -march=armv6 -mfpu=vfp -mfloat-abi=hard -lrt `pkg-config --cflags - -libs glib-2.0` -else -CFLAGS=-O3 `pkg-config --cflags --libs glib-2.0` -endif + else + CFLAGS=-O3 `pkg-config --cflags --libs glib-2.0` + endif endif