📄 makefile
字号:
# Makefile for lib/ip.
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG
CC1 = $(CC) $(CFLAGS) -c
MAKE = exec make -$(MAKEFLAGS)
LIBRARY = ../libc.a
all: $(LIBRARY)
OBJECTS = \
$(LIBRARY)(ether_line.o) \
$(LIBRARY)(ethera2n.o) \
$(LIBRARY)(ethere2a.o) \
$(LIBRARY)(etherh2n.o) \
$(LIBRARY)(ethern2h.o) \
$(LIBRARY)(getdomain.o) \
$(LIBRARY)(gethnmadr.o) \
$(LIBRARY)(gethostent.o) \
$(LIBRARY)(gethostname.o) \
$(LIBRARY)(getproto.o) \
$(LIBRARY)(getprotoent.o) \
$(LIBRARY)(getservent.o) \
$(LIBRARY)(getsrvbyname.o) \
$(LIBRARY)(getsrvbyport.o) \
$(LIBRARY)(hton.o) \
$(LIBRARY)(inet_addr.o) \
$(LIBRARY)(inet_ntoa.o) \
$(LIBRARY)(memcspn.o) \
$(LIBRARY)(oneC_sum.o) \
$(LIBRARY)(rcmd.o) \
$(LIBRARY)(res_comp.o) \
$(LIBRARY)(res_init.o) \
$(LIBRARY)(res_mkquery.o) \
$(LIBRARY)(res_query.o) \
$(LIBRARY)(res_send.o) \
$(LIBRARY)(strcasecmp.o) \
$(LIBRARY): $(OBJECTS)
aal cr $@ *.o
rm *.o
$(LIBRARY)(ether_line.o): ether_line.c
$(CC1) ether_line.c
$(LIBRARY)(ethera2n.o): ethera2n.c
$(CC1) ethera2n.c
$(LIBRARY)(ethere2a.o): ethere2a.c
$(CC1) ethere2a.c
$(LIBRARY)(etherh2n.o): etherh2n.c
$(CC1) etherh2n.c
$(LIBRARY)(ethern2h.o): ethern2h.c
$(CC1) ethern2h.c
$(LIBRARY)(getdomain.o): getdomain.c
$(CC1) getdomain.c
$(LIBRARY)(gethnmadr.o): gethnmadr.c
$(CC1) gethnmadr.c
$(LIBRARY)(gethostent.o): gethostent.c
$(CC1) gethostent.c
$(LIBRARY)(gethostname.o): gethostname.c
$(CC1) gethostname.c
$(LIBRARY)(getproto.o): getproto.c
$(CC1) getproto.c
$(LIBRARY)(getprotoent.o): getprotoent.c
$(CC1) getprotoent.c
$(LIBRARY)(getservent.o): getservent.c
$(CC1) getservent.c
$(LIBRARY)(getsrvbyname.o): getsrvbyname.c
$(CC1) getsrvbyname.c
$(LIBRARY)(getsrvbyport.o): getsrvbyport.c
$(CC1) getsrvbyport.c
$(LIBRARY)(hton.o): hton.c
$(CC1) hton.c
$(LIBRARY)(inet_addr.o): inet_addr.c
$(CC1) inet_addr.c
$(LIBRARY)(inet_ntoa.o): inet_ntoa.c
$(CC1) inet_ntoa.c
$(LIBRARY)(memcspn.o): memcspn.c
$(CC1) memcspn.c
$(LIBRARY)(oneC_sum.o): oneC_sum.c
$(CC1) oneC_sum.c
$(LIBRARY)(rcmd.o): rcmd.c
$(CC1) rcmd.c
$(LIBRARY)(res_comp.o): res_comp.c
$(CC1) res_comp.c
$(LIBRARY)(res_init.o): res_init.c
$(CC1) res_init.c
$(LIBRARY)(res_mkquery.o): res_mkquery.c
$(CC1) res_mkquery.c
$(LIBRARY)(res_query.o): res_query.c
$(CC1) res_query.c
$(LIBRARY)(res_send.o): res_send.c
$(CC1) res_send.c
$(LIBRARY)(strcasecmp.o): strcasecmp.c
$(CC1) strcasecmp.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -