OSDN Git Service

Initial commit
[particle-filter/ParticleFilter.git] / test / Makefile.in
1 CC=@CC@
2 CXX=@CXX@
3 SRCS=test_particle.cc test_particles.cc test_filter.cc test_edit.cc
4 OBJS=$(SRCS:.cc=.o)
5 TARGETS=$(SRCS:.cc=)
6 CFLAGS=-I/usr/local/include/cutter -I. -I../src  -g -Wall
7 LDFLAGS=@LDFLAGS@ -L. -L../src -lparticle -lcppcutter
8 all: $(TARGETS)
9
10 test_particle: test_particle.o
11         $(CXX) -o $@.so $@.o $(LDFLAGS) -shared
12
13 test_particles: test_particles.o
14         $(CXX) -o $@.so $@.o $(LDFLAGS) -shared
15
16 test_filter: test_filter.o
17         $(CXX) -o $@.so $@.o $(LDFLAGS) -shared
18
19 test_edit: test_edit.o
20         $(CXX) -o $@.so $@.o $(LDFLAGS) -shared
21
22
23 .cc.o: $(SRCS)
24         $(CXX) $(CFLAGS) -c $<
25
26
27 clean:
28         rm -f *.o *.a *~ *.lo *.la *.so $(TARGETS)