14 lines
220 B
Makefile
14 lines
220 B
Makefile
APPS = tunslip6 serialdump
|
|
LIB_SRCS = tools-utils.c
|
|
DEPEND = tools-utils.h
|
|
|
|
all: $(APPS)
|
|
|
|
CFLAGS += -Wall -Werror -O2
|
|
|
|
$(APPS) : % : %.c $(LIB_SRCS) $(DEPEND)
|
|
$(CC) $(CFLAGS) $< $(LIB_SRCS) -o $@
|
|
|
|
clean:
|
|
rm -f $(APPS)
|