17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
post = $(if $(debug),, && strip $@)
cc-post = $(post)
sc-post = $(post)
mc-post = $(post)
os = $(shell uname -o)
ifeq ($(os),Android)
l-shmem = -landroid-shmem
endif
%: %.c
$(cc) $< -o$@ $(cc-post)
%: %.ml
$(mc) $< -o $@ $(mc-post)
%: %.scm
|
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
post = $(if $(debug),, && strip $@)
cc-post = $(post)
sc-post = $(post)
mc-post = $(post)
os = $(shell uname -o)
%: %.c
$(cc) $< -o$@ $(cc-post)
%: %.ml
$(mc) $< -o $@ $(mc-post)
%: %.scm
|