mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Old-fashioned Makefile
This commit is contained in:
parent
e1987f8825
commit
c27ab6b82f
17
Makefile.std
Normal file
17
Makefile.std
Normal file
@ -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)
|
Loading…
x
Reference in New Issue
Block a user