~keithsalisbury/mixxx/mixxx

« back to all changes in this revision

Viewing changes to mixxx/lib/hidapi-0.7.0/mac/Makefile

  • Committer: Keith Salisbury
  • Date: 2012-05-06 13:44:20 UTC
  • mfrom: (2994.1.100 mixxx-trunk)
  • Revision ID: keithsalisbury@gmail.com-20120506134420-8k1dqq10aqmx0ecq
merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###########################################
 
2
# Simple Makefile for HIDAPI test program
 
3
#
 
4
# Alan Ott
 
5
# Signal 11 Software
 
6
# 2010-07-03
 
7
###########################################
 
8
 
 
9
all: hidtest
 
10
 
 
11
CC=gcc
 
12
CXX=g++
 
13
COBJS=hid.o
 
14
CPPOBJS=../hidtest/hidtest.o
 
15
OBJS=$(COBJS) $(CPPOBJS)
 
16
CFLAGS+=-I../hidapi -Wall -g -c 
 
17
LIBS=-framework IOKit -framework CoreFoundation
 
18
 
 
19
 
 
20
hidtest: $(OBJS)
 
21
        g++ -Wall -g $^ $(LIBS) -o hidtest
 
22
 
 
23
$(COBJS): %.o: %.c
 
24
        $(CC) $(CFLAGS) $< -o $@
 
25
 
 
26
$(CPPOBJS): %.o: %.cpp
 
27
        $(CXX) $(CFLAGS) $< -o $@
 
28
 
 
29
clean:
 
30
        rm -f *.o hidtest $(CPPOBJS)
 
31
 
 
32
.PHONY: clean