4 uname_m := $(shell uname -m)
5 ifeq ($(uname_m),armv7l)
6 CFLAGS=-O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -lrt
8 ifeq ($(uname_m),armv6l)
9 CFLAGS=-O3 -march=armv6 -mfpu=vfp -mfloat-abi=hard -lrt
18 $(C) -c -o $@ $< $(CFLAGS)
20 one_round_new.o: one_round_new.cpp
21 $(CXX) -c -o $@ $< $(CFLAGS)
23 one_round_par.o: one_round_par.cpp
24 $(CXX) -fopenmp -c -o $@ $< $(CFLAGS)
26 one_round_new: pixmap_io.o one_round_new.o
27 $(CXX) -o $@ $^ $(CFLAGS)
29 one_round_par: pixmap_io.o one_round_par.o
30 $(CXX) -fopenmp -o $@ $^ $(CFLAGS)
33 rm -rf *.o one_round_new