mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
34 lines
608 B
Makefile
34 lines
608 B
Makefile
# Toplevel Makefile for UPX
|
|
|
|
MAKEFLAGS += -rR
|
|
.SUFFIXES:
|
|
export SHELL = /bin/sh
|
|
|
|
srcdir = .
|
|
top_srcdir = .
|
|
|
|
|
|
default:
|
|
@echo "UPX info: please choose a target for 'make'"
|
|
|
|
all mostlyclean clean distclean maintainer-clean:
|
|
ifneq ($(wildcard $(HOME)/local/bin/bin-upx),)
|
|
# these need special build tools
|
|
$(MAKE) -C src/stub/util/sstrip $@
|
|
$(MAKE) -C src/stub $@
|
|
endif
|
|
$(MAKE) -C src $@
|
|
$(MAKE) -C doc $@
|
|
|
|
dist: distclean
|
|
false
|
|
|
|
# automatically generate ChangeLog from hg
|
|
ChangeLog:
|
|
hg log --style=changelog > $@
|
|
|
|
|
|
.PHONY: default all mostlyclean clean distclean maintainer-clean
|
|
.PHONY: dist ChangeLog
|
|
|