File: Makefile

package info (click to toggle)
perl 5.10.1-17squeeze6
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 74,280 kB
  • ctags: 49,087
  • sloc: perl: 319,380; ansic: 193,238; sh: 37,981; pascal: 8,830; lisp: 7,515; cpp: 3,893; makefile: 2,375; xml: 1,972; yacc: 1,555
file content (15 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# IMPORTANT:  This Makefile is not intended to build Perl itself but
#             only to replace a broken pwd command!

all:	pwd

pwd:	pwd.c
	$(CC) -O3 -o pwd pwd.c

install: pwd
	(new_pwd=`which pwd` && cp -f $$new_pwd $$new_pwd.broken \
		&& cp -f pwd $$new_pwd) 

clean:
	rm -f pwd.o pwd