Mercurial > hg > peckfft
view Makefile @ 8:f2d3b39267ee
fix Makefile
author | Peter Meerwald <p.meerwald@bct-electronic.com> |
---|---|
date | Mon, 19 Sep 2011 19:49:56 +0200 |
parents | 707be088ccc3 |
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