1 src = $(wildcard src/*.c) \
3 $(wildcard libpng/*.c) \
4 $(wildcard jpeglib/*.c)
6 alib = ../unix/libimago.a
8 sys ?= $(shell uname -s | sed 's/MINGW.*/mingw/')
10 obj = $(src:.c=.w32.o)
11 alib = ../w32/libimago.a
13 ifeq ($(sys), android-arm64)
14 obj = $(src:.c=.arm64.o)
15 alib = ../android64/libimago.a
18 ifeq ($(sys), android-arm32)
19 obj = $(src:.c=.arm32.o)
20 alib = ../android32/libimago.a
24 CFLAGS = -O3 -Izlib -Ilibpng -Ijpeglib $(pic)
30 $(CC) -o $@ $(CFLAGS) -c $<
33 $(CC) -o $@ $(CFLAGS) -c $<
36 $(CC) -o $@ $(CFLAGS) -c $<