File: Makefile

package info (click to toggle)
ocp 1%3A3.2.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,660 kB
  • sloc: ansic: 361,942; cpp: 70,353; javascript: 12,429; makefile: 6,915; sh: 4,493; java: 1,331; tcl: 1,040; xml: 841; perl: 285; ruby: 126; python: 15
file content (48 lines) | stat: -rw-r--r-- 1,073 bytes parent folder | download | duplicates (2)
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
41
42
43
44
45
46
47
48
TOPDIR=../
include $(TOPDIR)Rules.make

all: freverb$(LIB_SUFFIX) ireverb$(LIB_SUFFIX)

freverb_so=freverb.o
freverb$(LIB_SUFFIX): $(freverb_so)
	$(CC) $(SHARED_FLAGS) -o $@ $^ $(MATH_LIBS)

ireverb_so=ireverb.o
ireverb$(LIB_SUFFIX): $(ireverb_so)
	$(CC) $(SHARED_FLAGS) -o $@ $^ $(MATH_LIBS)

clean:
	rm -f *.o *$(LIB_SUFFIX)

install:
	mkdir -p "$(DESTDIR)$(LIBDIROCP)/autoload"
	$(CP) freverb$(LIB_SUFFIX) "$(DESTDIR)$(LIBDIROCP)/autoload"
	$(CP) ireverb$(LIB_SUFFIX) "$(DESTDIR)$(LIBDIROCP)/autoload"

uninstall:
	rm -f "$(DESTDIR)$(LIBDIROCP)/autoload/freverb$(LIB_SUFFIX)"
	rm -f "$(DESTDIR)$(LIBDIROCP)/autoload/ireverb$(LIB_SUFFIX)"

freverb.o: freverb.c \
	../config.h \
	../types.h \
	../boot/plinkman.h \
	../cpiface/cpiface.h \
	../cpiface/vol.h \
	../dev/mcp.h \
	../dev/postproc.h \
	../stuff/err.h \
	../stuff/imsrtns.h
	$(CC) -O $< -o $@ -c

ireverb.o: ireverb.c \
	../config.h \
	../types.h \
	../boot/plinkman.h \
	../cpiface/cpiface.h \
	../cpiface/vol.h \
	../dev/mcp.h \
	../dev/postproc.h \
	../stuff/err.h \
	../stuff/imsrtns.h
	$(CC) -O $< -o $@ -c