summaryrefslogtreecommitdiff
path: root/contrib/SDL-3.2.8/src/hidapi/testgui/Makefile.mingw
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/SDL-3.2.8/src/hidapi/testgui/Makefile.mingw')
-rw-r--r--contrib/SDL-3.2.8/src/hidapi/testgui/Makefile.mingw32
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/src/hidapi/testgui/Makefile.mingw b/contrib/SDL-3.2.8/src/hidapi/testgui/Makefile.mingw
new file mode 100644
index 0000000..f76b5a0
--- /dev/null
+++ b/contrib/SDL-3.2.8/src/hidapi/testgui/Makefile.mingw
@@ -0,0 +1,32 @@
1###########################################
2# Simple Makefile for HIDAPI test program
3#
4# Alan Ott
5# Signal 11 Software
6# 2010-06-01
7###########################################
8
9all: hidapi-testgui
10
11CC=gcc
12CXX=g++
13COBJS=../windows/hid.o
14CPPOBJS=test.o
15OBJS=$(COBJS) $(CPPOBJS)
16CFLAGS=-I../hidapi -I../../hidapi-externals/fox/include -g -c
17LIBS= -mwindows -L../../hidapi-externals/fox/lib -Wl,-Bstatic -lFOX-1.6 -Wl,-Bdynamic -lgdi32 -Wl,--enable-auto-import -static-libgcc -static-libstdc++ -lkernel32
18
19
20hidapi-testgui: $(OBJS)
21 g++ -g $^ $(LIBS) -o hidapi-testgui
22
23$(COBJS): %.o: %.c
24 $(CC) $(CFLAGS) $< -o $@
25
26$(CPPOBJS): %.o: %.cpp
27 $(CXX) $(CFLAGS) $< -o $@
28
29clean:
30 rm -f *.o hidapi-testgui.exe
31
32.PHONY: clean