summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 40a53e2..ddd2e05 100755
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ all: executable
win: executable
all: LDFLAGS = -lSDL2
-win: LDFLAGS = -lSDL2
+win: LDFLAGS = $(shell pkg-config --libs sdl2) -lws2_32
executable: chip8.c ui_sdl.c
$(CC) $(CFLAGS) -o $(BIN) chip8.c ui_sdl.c $(LDFLAGS)