• R/O
  • HTTP
  • SSH
  • HTTPS

ParticleFilter: 提交

C++ implementation of particle-filter


Commit MetaInfo

修订版e93d9b07a64574b5b7ee2c8b52b048c5cc48af4d (tree)
时间2014-09-17 11:01:15
作者tetu-s <tetsu.sato@nhn-...>
Commitertetu-s

Log Message

Remove ridiculous target in Makefile.in; Add -fPIC flag

更改概述

差异

--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -5,7 +5,7 @@ OBJS=$(SRCS:.cc=.o)
55 HEADS=$(SRCS:.cc=.h)
66 TARGETS=libparticle.a
77 AR=@AR@
8-CFLAGS=-I. -g -Wall
8+CFLAGS=-I. -g -Wall -fPIC
99 all: $(TARGETS)
1010
1111 libparticle.a: $(OBJS)
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -3,7 +3,7 @@ CXX=@CXX@
33 SRCS=test_particle.cc test_particles.cc test_filter.cc
44 OBJS=$(SRCS:.cc=.o)
55 TARGETS=$(SRCS:.cc=)
6-CFLAGS=-I/usr/local/include/cutter -I. -I../src -g -Wall
6+CFLAGS=-I/usr/local/include/cutter -I. -I../src -g -Wall -fPIC
77 LDFLAGS=@LDFLAGS@ -L. -L../src -lparticle -lcppcutter
88 all: $(TARGETS)
99
@@ -16,8 +16,9 @@ test_particles: test_particles.o
1616 test_filter: test_filter.o
1717 $(CXX) -o $@.so $@.o $(LDFLAGS) -shared
1818
19-test_edit: test_edit.o
20- $(CXX) -o $@.so $@.o $(LDFLAGS) -shared
19+# What's this?
20+#test_edit: test_edit.o
21+# $(CXX) -o $@.so $@.o $(LDFLAGS) -shared
2122
2223
2324 .cc.o: $(SRCS)
Show on old repository browser