Mercurial > hg > peckfft
view Makefile @ 12:655dc5c14169
backup
author | Peter Meerwald <p.meerwald@bct-electronic.com> |
---|---|
date | Thu, 22 Sep 2011 16:58:25 +0200 |
parents | f2d3b39267ee |
children |
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 libpeck_fft.a $(CC) $(LDFLAGS) -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