run-make on MSVC: Do not generate object files in the source directory
This commit is contained in:
parent
aeadc81ddc
commit
3b454665ea
@ -8,7 +8,7 @@ all: $(call RUN_BINFILE,foo)
|
|||||||
|
|
||||||
ifdef IS_MSVC
|
ifdef IS_MSVC
|
||||||
$(call RUN_BINFILE,foo): $(call DYLIB,foo)
|
$(call RUN_BINFILE,foo): $(call DYLIB,foo)
|
||||||
$(CC) $(CFLAGS) foo.c $(TMPDIR)/foo.dll.lib -Fe:`cygpath -w $@`
|
$(CC) $(CFLAGS) foo.c $(TMPDIR)/foo.dll.lib $(call OUT_EXE,foo)
|
||||||
else
|
else
|
||||||
$(call RUN_BINFILE,foo): $(call DYLIB,foo)
|
$(call RUN_BINFILE,foo): $(call DYLIB,foo)
|
||||||
$(CC) $(CFLAGS) foo.c -lfoo -o $(call RUN_BINFILE,foo) -L $(TMPDIR)
|
$(CC) $(CFLAGS) foo.c -lfoo -o $(call RUN_BINFILE,foo) -L $(TMPDIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user