1
###########################################
2
# Simple Makefile for HIDAPI test program
7
###########################################
14
CPPOBJS=../hidtest/hidtest.o
15
OBJS=$(COBJS) $(CPPOBJS)
16
CFLAGS+=-I../hidapi -Wall -g -c
17
LIBS=-framework IOKit -framework CoreFoundation
21
g++ -Wall -g $^ $(LIBS) -o hidtest
24
$(CC) $(CFLAGS) $< -o $@
26
$(CPPOBJS): %.o: %.cpp
27
$(CXX) $(CFLAGS) $< -o $@
30
rm -f *.o hidtest $(CPPOBJS)