X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/8cde42bc7104d1fd047cd3587809cdb72afabd34..eff7c8ed3a5515ef551c85075c5532c6f6f5c7d4:/OneRoundIoT/EnhancedOneRound/Makefile diff --git a/OneRoundIoT/EnhancedOneRound/Makefile b/OneRoundIoT/EnhancedOneRound/Makefile index 43e0b73..bc11694 100644 --- a/OneRoundIoT/EnhancedOneRound/Makefile +++ b/OneRoundIoT/EnhancedOneRound/Makefile @@ -1,14 +1,14 @@ -CXX=g++ -C=gcc +CXX=g++ -O3 +C=gcc -O3 uname_m := $(shell uname -m) ifeq ($(uname_m),armv7l) -CFLAGS=-O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -lrt `pkg-config --cflags --libs glib-2.0` +CFLAGS=-O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -lrt `pkg-config --cflags --libs glib-2.0` else ifeq ($(uname_m),armv6l) -CFLAGS=-O3 -march=armv6 -mfpu=vfp -mfloat-abi=hard -lrt `pkg-config --cflags --libs glib-2.0` +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` +CFLAGS=-O3 `pkg-config --cflags --libs glib-2.0` endif endif @@ -24,5 +24,8 @@ enhanced_oneround: pixmap_io.o enhanced_oneround.o $(CXX) -o $@ $^ $(CFLAGS) +test_substitution: test_substitution.o + $(CXX) -o $@ $^ $(CFLAGS) + clean: rm -rf *.o enhanced_oneround