]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Old-fashioned Makefile
authorTed Lemon <source@isc.org>
Wed, 6 Mar 1996 10:42:08 +0000 (10:42 +0000)
committerTed Lemon <source@isc.org>
Wed, 6 Mar 1996 10:42:08 +0000 (10:42 +0000)
Makefile.std [new file with mode: 0644]

diff --git a/Makefile.std b/Makefile.std
new file mode 100644 (file)
index 0000000..105141d
--- /dev/null
@@ -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)