aboutsummaryrefslogtreecommitdiff
path: root/usbhid/Makefile
blob: 01a6fee6fd5b9c901af8af3129692bd448cef17d (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
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 --language=c *.[ch] ../../../pd/src/*.[ch] \
		/usr/include/*.h /usr/include/sys/*.h \
		/sw/include/*.h /sw/include/*/*.h \
		libhid-svn/*/*.? 

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

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