From c27ab6b82fb8acb2bce04a040f8fd376ac94894c Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Wed, 6 Mar 1996 10:42:08 +0000 Subject: [PATCH] Old-fashioned Makefile --- Makefile.std | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile.std diff --git a/Makefile.std b/Makefile.std new file mode 100644 index 00000000..105141d4 --- /dev/null +++ b/Makefile.std @@ -0,0 +1,17 @@ +CSRC = options.c errwarn.c convert.c conflex.c confpars.c \ + tree.c memory.c alloc.c print.c hash.c tables.c inet.c db.c +COBJ = options.o errwarn.o convert.o conflex.o confpars.o \ + tree.o memory.o alloc.o print.o hash.o tables.o inet.o db.o +SRCS = dhcpd.c socket.c dhcp.c bootp.c +OBJS = dhcpd.o socket.o dhcp.o bootp.o + +all: dhcpd dhclient + +DEBUG=-g +CFLAGS=$(DEBUG) + +dhcpd: $(OBJS) $(COBJ) + cc -o dhcpd $(OBJS) $(COBJ) + +dhclient: dhclient.o $(COBJ) + cc -o dhclient dhclient.o $(COBJ)