-
-$(LZMA_LIB_DIR)/liblzma.a: $(LZMA_DIR)/.unpacked
- $(MAKE) -C $(LZMA_LIB_DIR)
-
-$(LZMA_ALONE_DIR)/lzma: $(LZMA_DIR)/.unpacked
- $(MAKE) -C $(LZMA_ALONE_DIR)
+
+$(LZMA_ALONE_DIR)/lzma $(LZMA_LIB_DIR)/liblzma.a: $(LZMA_DIR)/.built
+$(LZMA_DIR)/.built: $(LZMA_DIR)/.unpacked
+ $(MAKE) -C $(LZMA_LIB_DIR) $(MAKE_TRACE)
+ $(MAKE) -f makefile.gcc -C $(LZMA_ALONE_DIR) $(MAKE_TRACE)
+ touch $@