We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e2b3b commit 5433aa2Copy full SHA for 5433aa2
Makefile
@@ -5,20 +5,28 @@
5
6
CFLAGS = -std=gnu99 -Wall -pedantic -I/usr/include -I/usr/local/include
7
8
- ifeq "x$(MSYSTEM)" "x"
+ ifneq "MINGW" "$(findstring MINGW,$(MSYSTEM))"
9
LIBS = -lpthread
10
else
11
- LIBS = -lwsock32 -lpthreadGC2
+ LIBS = -lwsock32
12
endif
13
14
ifeq "x$(PREFIX)" "x"
15
PREFIX = $(PS2DEV)
16
17
18
- all: bin/fsclient bin/ps2client
+ ifeq "MINGW" "$(findstring MINGW,$(MSYSTEM))"
19
+ all:
20
+ $(MAKE) -f Makefile.mingw32 all
21
- clean:
22
+ clean:
23
+ $(MAKE) -f Makefile.mingw32 clean
24
+ else
25
+ all: bin/fsclient bin/ps2client
26
+
27
28
rm -f obj/*.o bin/*client*
29
+ endif
30
31
install: bin/fsclient bin/ps2client
32
strip bin/*client*
0 commit comments