comparison Makefile @ 7:707be088ccc3

build
author Peter Meerwald <p.meerwald@bct-electronic.com>
date Mon, 19 Sep 2011 17:39:53 +0200
parents
children f2d3b39267ee
comparison
equal deleted inserted replaced
6:fee54f1878f7 7:707be088ccc3
1 CFLAGS += -I.
2
3 OBJS = peck_fft.o peck_fftr.o
4
5 all: libpeck_fft.a
6
7 libpeck_fft.a: $(OBJS)
8 $(AR) ruv $@ $(OBJS)
9
10 clean:
11 rm -f *.o *.a peck_test
12
13 peck_test: peck_test.o
14 $(CC) -o $@ peck_test.o -L. -lpeck_fft -lm
15
16 test: peck_test
17 ./peck_test
18
19 install: libpeck_fft.a
20 mkdir -p $(DESTDIR)/usr/lib
21 mkdir -p $(DESTDIR)/usr/include
22 cp libpeck_fft.a $(DESTDIR)/usr/lib
23 cp peck_fft.h peck_fftr.h _peck_fft_guts.h $(DESTDIR)/usr/include

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