aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: fa5b56309e87d45af7a9c6ecb07a1d276dae87d1 (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
33
34
35
36
37
38
39
40
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


bootstrap:
	. bootstrap

# snapshot after release
snapshot: bootstrap
	bin/dist-snapshot -d

# to make a release, increment the version number in darcs and run
# 	bin/dist-snapshot