2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for dhcpd.
|
|
|
|
|
|
|
|
CFLAGS = $(OPT) -D_MINIX
|
|
|
|
LDFLAGS =
|
2005-09-07 10:43:25 +02:00
|
|
|
CC = exec cc
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
all: dhcpd
|
|
|
|
|
|
|
|
OBJ= dhcpd.o tags.o devices.o ether.o
|
|
|
|
|
|
|
|
dhcpd: $(OBJ)
|
|
|
|
$(CC) $(LDFLAGS) -o $@ $(OBJ)
|
|
|
|
install -S 12kw $@
|
|
|
|
|
|
|
|
install: /usr/bin/dhcpd
|
|
|
|
|
|
|
|
/usr/bin/dhcpd: dhcpd
|
|
|
|
install -c $? $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o dhcpd core a.out
|
|
|
|
|
|
|
|
# Dependencies.
|
|
|
|
$(OBJ): dhcpd.h
|
|
|
|
dhcpd.o ether.o: arp.h
|