diff --git a/Makefile b/Makefile index 6623069c..e6946445 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ SRCS = dhcpd.c options.c errwarn.c convert.c conflex.c confpars.c \ tree.c memory.c bootp.c dhcp.c alloc.c print.c socket.c \ - hash.c tables.c inet.c db.c dispatch.c bpf.c packet.c raw.c + hash.c tables.c inet.c db.c dispatch.c bpf.c packet.c raw.c \ + nit.c PROG = dhcpd MAN=dhcpd.8 dhcpd.conf.5 @@ -14,9 +15,5 @@ CFLAGS += $(DEBUG) -Wall -Wstrict-prototypes -Wno-unused \ -Wno-implicit -Wno-comment \ -Wno-uninitialized -Werror -dhclient: dhclient.o confpars.o alloc.o memory.o options.o \ - hash.o tables.o inet.o convert.o conflex.o errwarn.o \ - tree.o print.o db.o - $(CC) -o dhclient dhclient.o confpars.o alloc.o memory.o options.o \ - hash.o tables.o inet.o convert.o conflex.o errwarn.o \ - print.o tree.o db.o +dhclient: dhclient.o $(COBJ) + $(CC) -o dhclient dhclient.o $(COBJ)