shithub: drawterm-fdroid

ref: 7daaecd5f60a4308c026a654a3cf18c48d708aa2
dir: /libip/Makefile/

View raw version
ROOT=..
include ../Make.config
LIB=libip.a

OFILES=\
	eipfmt.$O\
	parseip.$O\
	classmask.$O\
	bo.$O\
	ipaux.$O\

default: $(LIB)
$(LIB): $(OFILES)
	$(AR) r $(LIB) $(OFILES)
	$(RANLIB) $(LIB)

%.$O: %.c
	$(CC) $(CFLAGS) $*.c