summaryrefslogtreecommitdiff
path: root/Source/3rdParty/SDL2/src/hidapi/libusb/Makefile.freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'Source/3rdParty/SDL2/src/hidapi/libusb/Makefile.freebsd')
-rw-r--r--Source/3rdParty/SDL2/src/hidapi/libusb/Makefile.freebsd46
1 files changed, 0 insertions, 46 deletions
diff --git a/Source/3rdParty/SDL2/src/hidapi/libusb/Makefile.freebsd b/Source/3rdParty/SDL2/src/hidapi/libusb/Makefile.freebsd
deleted file mode 100644
index 5e69e77..0000000
--- a/Source/3rdParty/SDL2/src/hidapi/libusb/Makefile.freebsd
+++ /dev/null
@@ -1,46 +0,0 @@
-###########################################
-# Simple Makefile for HIDAPI test program
-#
-# Alan Ott
-# Signal 11 Software
-# 2010-06-01
-###########################################
-
-all: hidtest libs
-
-libs: libhidapi.so
-
-CC ?= cc
-CFLAGS ?= -Wall -g -fPIC
-
-CXX ?= c++
-CXXFLAGS ?= -Wall -g
-
-COBJS = hid.o
-CPPOBJS = ../hidtest/hidtest.o
-OBJS = $(COBJS) $(CPPOBJS)
-INCLUDES = -I../hidapi -I/usr/local/include
-LDFLAGS = -L/usr/local/lib
-LIBS = -lusb -liconv -pthread
-
-
-# Console Test Program
-hidtest: $(OBJS)
- $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
-
-# Shared Libs
-libhidapi.so: $(COBJS)
- $(CC) $(LDFLAGS) -shared -Wl,-soname,$@.0 $^ -o $@ $(LIBS)
-
-# Objects
-$(COBJS): %.o: %.c
- $(CC) $(CFLAGS) -c $(INCLUDES) $< -o $@
-
-$(CPPOBJS): %.o: %.cpp
- $(CXX) $(CXXFLAGS) -c $(INCLUDES) $< -o $@
-
-
-clean:
- rm -f $(OBJS) hidtest libhidapi.so ../hidtest/hidtest.o
-
-.PHONY: clean libs