Make ccanlint core objects depend on generated-init-tests to fix build error
authorJoey Adams <joeyadams3.14159@gmail.com>
Thu, 9 Jul 2009 07:53:20 +0000 (03:53 -0400)
committerJoey Adams <joeyadams3.14159@gmail.com>
Thu, 9 Jul 2009 07:53:20 +0000 (03:53 -0400)
tools/ccanlint/Makefile

index e7c21d6f4bdfa3366860c3f6201ed0d5a224ce05..16c4bfd2b3324daab2c6462af18341d7528601a8 100644 (file)
@@ -16,6 +16,9 @@ tools/ccanlint/generated-init-tests: $(TEST_CFILES)
 
 $(TEST_OBJS): tools/ccanlint/generated-init-tests
 
 
 $(TEST_OBJS): tools/ccanlint/generated-init-tests
 
+# Otherwise, ccanlint.c et al. may fail to build
+$(CORE_OBJS): tools/ccanlint/generated-init-tests
+
 tools/ccanlint/ccanlint: $(OBJS)
 
 ccanlint-clean:
 tools/ccanlint/ccanlint: $(OBJS)
 
 ccanlint-clean: