util  Diff

Differences From Artifact [77fcbe1814]:

To Artifact [053afc7a8f]:


    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