Differences From Artifact [77fcbe1814]:
- File makerules — part of check-in [a3ccd193d5] at 2019-08-15 05:45:12 on branch trunk — add kpw source (user: lexi, size: 581) [annotate] [blame] [check-ins using]
To Artifact [053afc7a8f]:
- File makerules — part of check-in [8a57f6203c] at 2019-08-16 03:00:33 on branch trunk — add android support (user: lexi, size: 663) [annotate] [blame] [check-ins using]
14 14 cc-flags = $(if $(debug),-g,-O$(cc-opt)) 15 15 cc = $(CC) $(cc-flags) 16 16 17 17 post = $(if $(debug),, && strip $@) 18 18 cc-post = $(post) 19 19 sc-post = $(post) 20 20 mc-post = $(post) 21 + 22 +os = $(shell uname -o) 23 + 24 +ifeq ($(os),Android) 25 + l-shmem = -landroid-shmem 26 +endif 21 27 22 28 %: %.c 23 29 $(cc) $< -o$@ $(cc-post) 24 30 25 31 %: %.ml 26 32 $(mc) $< -o $@ $(mc-post) 27 33