aboutsummaryrefslogtreecommitdiff
path: root/tools/rasm/Makefile
blob: 8e7e71bbe2de402e61789ac41e6e5dc65b48c6bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: rasm

ifdef ($(OS),Windows_NT)
    TARGET = rasm.exe
else
    TARGET = rasm
endif

rasm: rasm_v0120.c
	$(CC) $< -s -O2 -lm -lrt -march=native -o $@
	cp $(TARGET) ../../bin
	rm -f $(TARGET)

clean:
	rm -f $(TARGET)

.PHONY: all clean