annotate Makefile @ 9:8726585681f6

backup
author Peter Meerwald <p.meerwald@bct-electronic.com>
date Wed, 21 Sep 2011 12:18:40 +0200
parents f2d3b39267ee
children
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
8
f2d3b39267ee fix Makefile
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 7
diff changeset
13 peck_test: peck_test.o libpeck_fft.a
f2d3b39267ee fix Makefile
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 7
diff changeset
14 $(CC) $(LDFLAGS) -o $@ peck_test.o -L. -lpeck_fft -lm
7
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.