shithub: sox

ref: c5ec8339bbe78ae56cd99dc43072d9bff0e0fb96
dir: /test/Makefile/

View raw version
# makefile for gcc

# Uncomment the following if you need a specific compiler.
#CC=gcc

CFLAGS:=-O2 -Wall -L../
LDFLAGS:=-s
LIBS:=-lm

all: ding model lding lmodel corr

corr: corr.c
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)

ding: ding.c
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)

model: model.c
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)

lding: ding.c
	$(CC) $(CFLAGS) -DLSAMPL $(LDFLAGS) -o $@ $< $(LIBS)

lmodel: model.c
	$(CC) $(CFLAGS) -DLSAMPL $(LDFLAGS) -o $@ $< $(LIBS)

clean:
	rm -f ding lding model lmodel corr *~ A B
	rm -rf d