summaryrefslogtreecommitdiff
path: root/SDL-3.2.8/src/hidapi/testgui/Makefile.freebsd
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-03-06 13:26:57 -0800
committer3gg <3gg@shellblade.net>2026-03-06 13:26:57 -0800
commitf5c89b3bd5d74849757fd5b4d1a300068522a3ca (patch)
treed6f6e4c81745b393d7594b334710f30c0b2df3bd /SDL-3.2.8/src/hidapi/testgui/Makefile.freebsd
Initial commitHEADmain
Diffstat (limited to 'SDL-3.2.8/src/hidapi/testgui/Makefile.freebsd')
-rw-r--r--SDL-3.2.8/src/hidapi/testgui/Makefile.freebsd33
1 files changed, 33 insertions, 0 deletions
diff --git a/SDL-3.2.8/src/hidapi/testgui/Makefile.freebsd b/SDL-3.2.8/src/hidapi/testgui/Makefile.freebsd
new file mode 100644
index 0000000..09a2473
--- /dev/null
+++ b/SDL-3.2.8/src/hidapi/testgui/Makefile.freebsd
@@ -0,0 +1,33 @@
1###########################################
2# Simple Makefile for HIDAPI test program
3#
4# Alan Ott
5# Signal 11 Software
6# 2010-06-01
7###########################################
8
9all: testgui
10
11CC=cc
12CXX=c++
13COBJS=../libusb/hid.o
14CPPOBJS=test.o
15OBJS=$(COBJS) $(CPPOBJS)
16CFLAGS=-I../hidapi -I/usr/local/include `fox-config --cflags` -Wall -g -c
17LDFLAGS= -L/usr/local/lib
18LIBS= -lusb -liconv `fox-config --libs` -pthread
19
20
21testgui: $(OBJS)
22 $(CXX) -Wall -g $^ $(LDFLAGS) -o $@ $(LIBS)
23
24$(COBJS): %.o: %.c
25 $(CC) $(CFLAGS) $< -o $@
26
27$(CPPOBJS): %.o: %.cpp
28 $(CXX) $(CFLAGS) $< -o $@
29
30clean:
31 rm *.o testgui
32
33.PHONY: clean