diff options
author | Juan J. Martinez <jjm@usebox.net> | 2021-02-09 20:24:01 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2021-02-09 20:29:59 +0000 |
commit | a58371c419f0f8fc16eaf6335e8c9fb44f5f99a0 (patch) | |
tree | d0e8d5566432ef496a489112388eb8a3583b993d /tools/rasm | |
parent | ce9fedef58f4e826bcefd4ece392b435388e0486 (diff) | |
download | ubox-msx-lib-a58371c419f0f8fc16eaf6335e8c9fb44f5f99a0.tar.gz ubox-msx-lib-a58371c419f0f8fc16eaf6335e8c9fb44f5f99a0.zip |
Fixes in Makefile when detecting Windows OS
Diffstat (limited to 'tools/rasm')
-rw-r--r-- | tools/rasm/Makefile | 5 |
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 |