shithub: drawterm-fdroid

ref: e1964307f2d3ca6cd9e31ed3299c2ab42bfb7a4e
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