annotate Makefile @ 7:707be088ccc3

build
author Peter Meerwald <p.meerwald@bct-electronic.com>
date Mon, 19 Sep 2011 17:39:53 +0200
parents
children f2d3b39267ee
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
1 CFLAGS += -I.
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
2
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
3 OBJS = peck_fft.o peck_fftr.o
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
4
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
5 all: libpeck_fft.a
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
6
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
7 libpeck_fft.a: $(OBJS)
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
8 $(AR) ruv $@ $(OBJS)
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
9
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
10 clean:
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
11 rm -f *.o *.a peck_test
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
12
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
13 peck_test: peck_test.o
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
14 $(CC) -o $@ peck_test.o -L. -lpeck_fft -lm
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
15
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
16 test: peck_test
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
17 ./peck_test
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
18
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
19 install: libpeck_fft.a
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
20 mkdir -p $(DESTDIR)/usr/lib
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
21 mkdir -p $(DESTDIR)/usr/include
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
22 cp libpeck_fft.a $(DESTDIR)/usr/lib
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff changeset
23 cp peck_fft.h peck_fftr.h _peck_fft_guts.h $(DESTDIR)/usr/include

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