aboutsummaryrefslogtreecommitdiff
path: root/usbhid/Makefile
blob: dabda0c1f6bce567df3fc1656ed509f2c683a6e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
TARGET := $(shell pwd | sed 's|.*/\(.*\)$$|\1|')
EXTERNALS_ROOT := $(shell pwd | sed 's|^\(/.*externals\).*|\1|')

default: 
	make -C $(EXTERNALS_ROOT) $(TARGET)

install:
	make -C $(EXTERNALS_ROOT) $(TARGET)_install

clean:
	make -C $(EXTERNALS_ROOT) $(TARGET)_clean

test_locations:
	make -C $(EXTERNALS_ROOT) test_locations

# for emacs
etags:
	etags *.[ch] ../../../pd/src/*.[ch] \
		~/code/libhid-svn/*/*.[ch] \
		/sw/include/hid*.h /sw/include/usb*.h \
		/System/Library/Frameworks/IOKit.framework/Headers/hid/*.h \
		/Users/hans/Documents/Research/HID/example\ code/CrossHID/*/*.h \
		/Users/hans/Documents/Research/HID/example\ code/CrossHID/*/*.cpp \
		../hid/HID\ Utilities\ Source/*.[ch]

#etags_Darwin:
#	etags --append /sw/include/*.h /sw/include/*/*.h

etags_Linux:
	etags --append libhid-svn/*/*.?