aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 57935ddb7eaf11a2e6774f81102386359ada43b6 (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
include Makefile.config

all: 
	make -C modules
	make -C modules++

	rm -f $(LIBNAME)
	$(CXX) $(LIBFLAGS) -o $(LIBNAME) modules/*.o modules++/*.o -lm

clean:
	make -C modules clean
	make -C modules++ clean
	rm -f $(LIBNAME)
	rm -f *~

tags:
	etags --language=auto */*.c */*.h */*.cpp

tagsclean:
	rm -f TAGS

install:
	test -d $(prefix)/lib/pd
	install -d $(prefix)/lib/pd/extra
	install -m 755 $(LIBNAME) $(prefix)/lib/pd/extra
	install -m 644 abs/*.pd $(prefix)/lib/pd/extra
	install -m 644 doc/*.pd $(prefix)/lib/pd/doc/5.reference
	install -d $(prefix)/lib/pd/doc/creb
	install -m 644 doc/examples/*.pd $(prefix)/lib/pd/doc/creb