From a58371c419f0f8fc16eaf6335e8c9fb44f5f99a0 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 9 Feb 2021 20:24:01 +0000 Subject: Fixes in Makefile when detecting Windows OS --- tools/rasm/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tools/rasm/Makefile') 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 -- cgit v1.2.3