File: Makefile.linux

package info (click to toggle)
rbootd 2.0-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 192 kB
  • ctags: 237
  • sloc: ansic: 1,634; sh: 70; makefile: 63
file content (20 lines) | stat: -rw-r--r-- 547 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Linux Makefile for rbootd: PMM 1996 (pm215@cam.ac.uk)
# Installation's fairly obvious - put rbootd and rbootd.8 in appropriate
# places.

PROG=	rbootd
SRCS=	pcap.c conf.c parseconf.c rbootd.c rmpproto.c utils.c
OBJS =  pcap.o conf.o parseconf.o rbootd.o rmpproto.o utils.o
MAN=	rbootd.8

# We used to -lbsd but that seems to have gone away with glibc...
LFLAGS = -lpcap

# -Wall picks up all the static char rcsid[] stuff but is otherwise clean
CFLAGS = -O2 -Wall
rbootd:	$(OBJS)
	$(CC) -o $@ $(OBJS) $(LFLAGS)

clean: 
	rm -f *.o
	rm -f rbootd