summaryrefslogtreecommitdiff
path: root/tools/mwasmarm_patcher/Makefile
blob: 26df548c79e7a67cf6e4e8e24de45018b328e0ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: all clean

UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
CC := gcc-5
else
CC := gcc
endif
CFLAGS := -O3

.PHONY: all clean

all: mwasmarm_patcher
	@:

clean: ; $(RM) mwasmarm_patcher$(EXE)

mwasmarm_patcher: mwasmarm_patcher.c
	$(CC) $(CFLAGS) -o $@ $<