summaryrefslogtreecommitdiff
path: root/tools/rasm/Makefile
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-02-09 20:24:01 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-02-09 20:29:59 +0000
commita58371c419f0f8fc16eaf6335e8c9fb44f5f99a0 (patch)
treed0e8d5566432ef496a489112388eb8a3583b993d /tools/rasm/Makefile
parentce9fedef58f4e826bcefd4ece392b435388e0486 (diff)
downloadubox-msx-lib-a58371c419f0f8fc16eaf6335e8c9fb44f5f99a0.tar.gz
ubox-msx-lib-a58371c419f0f8fc16eaf6335e8c9fb44f5f99a0.zip
Fixes in Makefile when detecting Windows OS
Diffstat (limited to 'tools/rasm/Makefile')
-rw-r--r--tools/rasm/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/rasm/Makefile b/tools/rasm/Makefile
index 8f0c708..2fb4627 100644
--- a/tools/rasm/Makefile
+++ b/tools/rasm/Makefile
@@ -1,13 +1,12 @@
all: rasm
CC := gcc
+LDFLAGS := -lm -lrt
-ifdef ($(OS),Windows_NT)
+ifeq ($(OS),Windows_NT)
TARGET := rasm.exe
- LDFLAGS := -lrtm
else
TARGET := rasm
- LDFLAGS := -lm -lrt
endif
rasm: rasm_v0120.c