From 927e131593a58bea69ae5e742aa5a1657082c9f1 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 12 Oct 2012 18:58:20 +0200 Subject: [PATCH] Yet more Makefile tweaks/fixes. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 69e9ef4..aaa9896 100644 --- a/Makefile +++ b/Makefile @@ -47,11 +47,11 @@ gtest_sdl_main.o: gtest_sdl_main.cpp # Unit tests. effect_chain_test: effect_chain_test.o $(TEST_OBJS) libmovit.a - $(CXX) -o $@ effect_chain_test.o $(TEST_OBJS) libmovit.a $(LDFLAGS) + $(CXX) -o $@ $^ $(LDFLAGS) mix_effect_test: mix_effect_test.o $(TEST_OBJS) libmovit.a - $(CXX) -o $@ mix_effect_test.o $(TEST_OBJS) libmovit.a $(LDFLAGS) + $(CXX) -o $@ $^ $(LDFLAGS) -OBJS=$(DEMO_OBJS) $(LIB_OBJS) $(GDEMO_OBJS) +OBJS=$(DEMO_OBJS) $(LIB_OBJS) $(TEST_OBJS) $(TESTS:=.o) # A small demo program. demo: libmovit.a $(DEMO_OBJS) -- 2.39.2