summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2019-09-28 17:39:05 -0400
committerAndrew Opalach <andrew@akon.city> 2019-09-28 17:39:05 -0400
commitd20068025b93350b7a1f6443542103c1a3569afe (patch)
tree1633744078fcd28af113e1a9537c4d364169e255 /Makefile
parentebd4ac832a30b97a267514ec83b00651041c54f4 (diff)
downloadchip8-d20068025b93350b7a1f6443542103c1a3569afe.tar.gz
chip8-d20068025b93350b7a1f6443542103c1a3569afe.tar.bz2
chip8-d20068025b93350b7a1f6443542103c1a3569afe.zip
make cpu 500hz
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)