Skip to content

Commit

Permalink
Improve Win32 Make detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
jchv committed Oct 24, 2020
1 parent 9dc2809 commit 42a8354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ifeq ($(OS),Windows_NT)
ifeq ($(SHELL),$(COMSPEC))
WATCOM := C:/WATCOM
WCC := $(WATCOM)/binnt64/wcc386
WLINK := $(WATCOM)/binnt64/wlink
Expand Down Expand Up @@ -58,7 +58,7 @@ all: $(OUT) $(TESTOUT)

.PHONY: clean

ifeq ($(OS),Windows_NT)
ifeq ($(SHELL),$(COMSPEC))
$(OBJDIR)%.o: $(SRCDIR)%.c
@setlocal enableextensions
@if not exist "$(dir $@)" mkdir "$(dir $@)"
Expand Down

0 comments on commit 42a8354

Please sign in to comment.