From 890efaf191d4208c73daf6c62fb63e310587dac4 Mon Sep 17 00:00:00 2001 From: davehein Date: Sun, 15 Apr 2018 21:39:06 -0500 Subject: [PATCH] Fixed Makefile to work under mingw --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 20a4811..7960cbe 100644 --- a/Makefile +++ b/Makefile @@ -24,9 +24,11 @@ TARGET = $(BUILD)/spinsim$(EXT) SOURCES = spinsim.c spininterp.c spindebug.c pasmsim.c pasmdebug.c pasmsim2.c pasmdebug2.c eeprom.c debug.c gdb.c disasm2.c +ifneq ($(MSYSTEM),MINGW32) ifneq ($(OS),msys) SOURCES += conion.c endif +endif OBJECTS = $(patsubst %,$(BUILD)/%, $(SOURCES:.c=.o))