view Makefile @ 7:707be088ccc3

build
author Peter Meerwald <p.meerwald@bct-electronic.com>
date Mon, 19 Sep 2011 17:39:53 +0200
parents
children f2d3b39267ee
line wrap: on
line source

CFLAGS += -I.

OBJS = peck_fft.o peck_fftr.o

all: libpeck_fft.a

libpeck_fft.a: $(OBJS)
	$(AR) ruv $@ $(OBJS)

clean:
	rm -f *.o *.a peck_test

peck_test: peck_test.o
	$(CC) -o $@ peck_test.o -L. -lpeck_fft -lm

test: peck_test
	./peck_test

install: libpeck_fft.a
	mkdir -p $(DESTDIR)/usr/lib
	mkdir -p $(DESTDIR)/usr/include
	cp libpeck_fft.a $(DESTDIR)/usr/lib
	cp peck_fft.h peck_fftr.h _peck_fft_guts.h $(DESTDIR)/usr/include

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.