Skip to content

Instantly share code, notes, and snippets.

@graydon
Created February 1, 2013 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graydon/26a8955c1b864cf69754 to your computer and use it in GitHub Desktop.
Save graydon/26a8955c1b864cf69754 to your computer and use it in GitHub Desktop.
diff --git a/config-mingw.mk b/config-mingw.mk
index 662831d..9906a1c 100644
--- a/config-mingw.mk
+++ b/config-mingw.mk
@@ -27,7 +27,7 @@ E=.exe
CFLAGS=$(CPPFLAGS) -g --std=gnu89 -D_WIN32_WINNT=0x0600
LDFLAGS=-lm
-WIN_SRCS=$(wildcard src/win/*.c)
+WIN_SRCS=$(wildcard $(SRCDIR)/src/win/*.c)
WIN_OBJS=$(WIN_SRCS:.c=.o)
RUNNER_CFLAGS=$(CFLAGS) -D_GNU_SOURCE # Need _GNU_SOURCE for strdup?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment