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