Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (19 sloc) 0.429 kB
# iplc - parseable network interface output
CC ?= cc
CFLAGS += -std=c99 -g -Wall -Wextra -pedantic
SRC = iplc.c
OBJ = ${SRC:.c=.o}
all: iplc
.c.o:
${CC} -c ${CFLAGS} $<
iplc: ${OBJ}
${CC} -o $@ ${OBJ} ${LDFLAGS}
install: iplc
install -D -m755 iplc ${DESTDIR}${PREFIX}/bin/iplc
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/iplc
strip: iplc
strip --strip-all iplc
clean:
rm -f *.o iplc
.PHONY: all clean install strip
Jump to Line
Something went wrong with that request. Please try again.