File: Makefile-solaris9

package info (click to toggle)
ssmping 0.8.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 120 kB
  • ctags: 60
  • sloc: ansic: 1,146; makefile: 81
file content (19 lines) | stat: -rw-r--r-- 447 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PREFIX ?= /usr/local
CFLAGS ?= -D_POSIX_C_SOURCE -D__EXTENSIONS__ -D_XPG4_2
LDFLAGS ?= -lsocket  -lnsl 

all: asmping ssmpingd

OBJ = ssmpngcl.o ssmpingc.o

ssmping: $(OBJ)
asmping: $(OBJ)
ssmpingd: $(OBJ)

install: ssmping asmping ssmpingd
	install -D asmping $(DESTDIR)$(PREFIX)/bin/asmping
	install -D ssmpingd $(DESTDIR)$(PREFIX)/bin/ssmpingd
	install -D ssmping.1 $(DESTDIR)$(PREFIX)/man/man1/ssmping.1

clean:
	rm -f $(OBJ) asmping ssmpingd