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 `pkg-config --cflags --libs glib-2.0`
8 ifeq ($(uname_m),armv6l)
9 CFLAGS=-O3 -march=armv6 -mfpu=vfp -mfloat-abi=hard -lrt `pkg-config --cflags --libs glib-2.0`
11 CFLAGS=-O3 `pkg-config --cflags --libs glib-2.0`
18 $(C) -c -o $@ $< $(CFLAGS)
21 $(CXX) -c -o $@ $< $(CFLAGS)
23 scprng_old.o: scprng_old.cpp
24 $(CXX) -c -o $@ $< $(CFLAGS)
28 scprng: pixmap_io.o scprng.o
29 $(CXX) -o $@ $^ $(CFLAGS)
31 scprng_old: pixmap_io.o scprng_old.o
32 $(CXX) -o $@ $^ $(CFLAGS)
37 rm -rf *.o scprng scprng_old