diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-31 14:45:38 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-31 14:45:38 +0100 |
commit | 7f14f1f7deb945b7f0ba14c2f49758e9a79d12a3 (patch) | |
tree | 85224dcdd724e6a59129cbdbe67a246b432172e2 /Tools/tests-host/Makefile | |
parent | c367959d28134fb6c937af83a3e2dcc25b411eee (diff) | |
download | px4-firmware-7f14f1f7deb945b7f0ba14c2f49758e9a79d12a3.tar.gz px4-firmware-7f14f1f7deb945b7f0ba14c2f49758e9a79d12a3.tar.bz2 px4-firmware-7f14f1f7deb945b7f0ba14c2f49758e9a79d12a3.zip |
Add conversions and mixer tests. Work in progress
Diffstat (limited to 'Tools/tests-host/Makefile')
-rw-r--r-- | Tools/tests-host/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Tools/tests-host/Makefile b/Tools/tests-host/Makefile index 97410ff47..7ab1454f0 100644 --- a/Tools/tests-host/Makefile +++ b/Tools/tests-host/Makefile @@ -10,11 +10,13 @@ LIBS=-lm #_DEPS = test.h #DEPS = $(patsubst %,$(IDIR)/%,$(_DEPS)) -_OBJ = mixer_test.o test_mixer.o mixer_simple.o mixer_multirotor.o mixer.o mixer_group.o mixer_load.o +_OBJ = mixer_test.o test_mixer.o mixer_simple.o mixer_multirotor.o \ + mixer.o mixer_group.o mixer_load.o test_conv.o pwm_limit.o hrt.o OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ)) #$(DEPS) $(ODIR)/%.o: %.cpp + mkdir -p obj $(CC) -c -o $@ $< $(CFLAGS) $(ODIR)/%.o: ../../src/systemcmds/tests/%.cpp @@ -26,6 +28,12 @@ $(ODIR)/%.o: ../../src/modules/systemlib/%.cpp $(ODIR)/%.o: ../../src/modules/systemlib/mixer/%.cpp $(CC) -c -o $@ $< $(CFLAGS) +$(ODIR)/%.o: ../../src/modules/systemlib/pwm_limit/%.cpp + $(CC) -c -o $@ $< $(CFLAGS) + +$(ODIR)/%.o: ../../src/modules/systemlib/pwm_limit/%.c + $(CC) -c -o $@ $< $(CFLAGS) + $(ODIR)/%.o: ../../src/modules/systemlib/mixer/%.c $(CC) -c -o $@ $< $(CFLAGS) |