File: Makefile

package info (click to toggle)
libsndfile 1.2.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,180 kB
  • sloc: ansic: 55,354; cpp: 1,108; python: 791; makefile: 545; sh: 538; cs: 122
file content (13 lines) | stat: -rw-r--r-- 220 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
SRC=$(wildcard *.c)
APPS=$(SRC:%.c=%)
SNDLIBS=$(LIBS) $(shell pkgconf --cflags --libs sndfile) -lm

.PHONY: default clean

default: $(APPS)

%: %.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(SNDLIBS)

clean:
	rm -f $(APPS)