ifupdown-ng/Makefile

19 lines
287 B
Makefile
Raw Normal View History

2020-07-18 07:58:24 +00:00
CFLAGS := -ggdb3 -O2 -Wall -I.
LIBIFUPDOWN_SRC = \
libifupdown/list.c \
libifupdown/dict.c \
libifupdown/interface.c
2020-07-18 07:58:24 +00:00
LIBIFUPDOWN_OBJ = ${LIBIFUPDOWN_SRC:.c=.o}
libifupdown.a: ${LIBIFUPDOWN_OBJ}
ar -rcs $@ ${LIBIFUPDOWN_OBJ}
all: libifupdown.a
clean:
rm -f ${LIBIFUPDOWN_OBJ}