TARGET=Textures.xbt IMAGES := $(shell find . -name "*jpg") IMAGES += $(shell find . -name "*png") IMAGES += $(shell find . -name "*gif") all: $(TARGET) .PHONY: force $(TARGET): $(IMAGES) @TEXTUREPACKER@ -dupecheck -input . -output $(TARGET) clean: rm -f $(TARGET) distclean: clean