From: Michael Stapelberg Date: Wed, 23 Apr 2014 17:34:45 +0000 (+0200) Subject: Fix i3.mk to not rebuild test.* all the time X-Git-Tag: 4.8~76 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=254e4d6f0577e065203ebc9000f34f7d27db0b13;p=i3%2Fi3 Fix i3.mk to not rebuild test.* all the time This problem was introduced in 5181055a --- diff --git a/src/i3.mk b/src/i3.mk index e42177bb..0325d82a 100644 --- a/src/i3.mk +++ b/src/i3.mk @@ -36,13 +36,13 @@ src/%.o: src/%.c $(i3_HEADERS_DEP) echo "[i3] CC $<" $(CC) $(I3_CPPFLAGS) $(XCB_CPPFLAGS) $(CPPFLAGS) $(i3_CFLAGS) $(I3_CFLAGS) $(CFLAGS) $(PCH_FLAGS) -c -o $@ ${canonical_path}/$< -test-tools: src/test.commands_parser src/test.config_parser +test-tools: test.commands_parser test.config_parser -src/test.commands_parser: src/commands_parser.c $(i3_HEADERS_DEP) i3-command-parser.stamp libi3.a +test.commands_parser: src/commands_parser.c $(i3_HEADERS_DEP) i3-command-parser.stamp libi3.a echo "[i3] Link test.commands_parser" $(CC) $(I3_CPPFLAGS) $(XCB_CPPFLAGS) $(CPPFLAGS) $(i3_CFLAGS) $(I3_CFLAGS) $(CFLAGS) $(I3_LDFLAGS) $(LDFLAGS) -DTEST_PARSER -g -o test.commands_parser $< $(LIBS) $(i3_LIBS) -src/test.config_parser: src/config_parser.c $(i3_HEADERS_DEP) i3-config-parser.stamp libi3.a +test.config_parser: src/config_parser.c $(i3_HEADERS_DEP) i3-config-parser.stamp libi3.a echo "[i3] Link test.config_parser" $(CC) $(I3_CPPFLAGS) $(XCB_CPPFLAGS) $(CPPFLAGS) $(i3_CFLAGS) $(I3_CFLAGS) $(CFLAGS) $(I3_LDFLAGS) $(LDFLAGS) -DTEST_PARSER -g -o test.config_parser $< $(LIBS) $(i3_LIBS)