include config.mak TARGET = $(BINARY)$(SUFFIX) $(TARGET): src/*.c src/*.h $(MAKE) -C src all: $(TARGET) $(PACK_FILE) test: $(TARGET) $(PACK_FILE) ./$(TARGET) data: python ve2packer.py filelist_demo.txt $(PACK_FILE): ve2packer.py filelist_demo.txt python ve2packer.py filelist_demo.txt release: all strip -R .gnu.version -R .comment $(TARGET) $(LIBDIR)/upx --best $(TARGET) depend: dep dep: $(MAKE) -C src dep clean: $(MAKE) -C src clean rm -f $(TARGET) $(PACK_FILE) src/depend.mak config.mak: sh configure.sh $(CONFIG) distclean: clean rm -f config.mak src/depend.mak .PHONY: all clean release compile data depend dep distclean