Debian Codegraph @

debian/examples/Makefile

raw
1 SRC=$(wildcard *.c)
2 APPS=$(SRC:%.c=%)
3 SNDLIBS=$(LIBS) $(shell pkgconf --cflags --libs sndfile) -lm
4
5 .PHONY: default clean
6
7 default: $(APPS)
8
9 %: %.c
10 $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(SNDLIBS)
11
12 clean:
13 rm -f $(APPS)