File: Makefile

package info (click to toggle)
abicheck 1.2-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 404 kB
  • sloc: perl: 2,667; ansic: 45; makefile: 32; sh: 28
file content (24 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.

PROGS = libc_a public1 private1

all: $(PROGS) tests

# on Linux this gives
# /usr/bin/ld: BFD 2.11.93.0.2 20020207 assertion fail elf-strtab.c:262
# but it still creates the binary properly.
libc_a: libc_a.c
	cc -o libc_a libc_a.c -lm /usr/lib/libc.a

private1: private1.c
	cc -D`uname` -o private1 private1.c

tests:
	@sh run_tests

clean:
	rm -f $(PROGS)

clobber: clean