File: Makefile

package info (click to toggle)
upx-ucl 2.01-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,796 kB
  • ctags: 7,267
  • sloc: cpp: 29,386; ansic: 9,562; asm: 4,548; makefile: 580; perl: 446; python: 74; sh: 37
file content (33 lines) | stat: -rw-r--r-- 608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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