4 uname_m := $(shell uname -m)
5 ifeq ($(uname_m),armv7l)
6 CFLAGS=-O3 -std=c++11 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -lrt
8 ifeq ($(uname_m),armv6l)
9 CFLAGS=-O3 -std=c++11 -march=armv6 -mfpu=vfp -mfloat-abi=hard -lrt
16 OBJ = pixmap_io.o one_round_new.o
19 $(C) -c -o $@ $< $(CFLAGS)
22 $(CXX) -c -o $@ $< $(CFLAGS)
25 $(CXX) -o $@ $^ $(CFLAGS)
28 rm -rf $(OBJ) one_round_new