2018-05-12 15:29:24 +00:00
|
|
|
APPS = tunslip6 serialdump
|
|
|
|
LIB_SRCS = tools-utils.c
|
|
|
|
DEPEND = tools-utils.h
|
2011-08-05 16:14:18 +00:00
|
|
|
|
2018-05-12 15:29:24 +00:00
|
|
|
all: $(APPS)
|
2017-11-17 21:32:08 +00:00
|
|
|
|
2018-05-12 15:29:24 +00:00
|
|
|
CFLAGS += -Wall -Werror -O2
|
|
|
|
|
|
|
|
$(APPS) : % : %.c $(LIB_SRCS) $(DEPEND)
|
|
|
|
$(CC) $(CFLAGS) $< $(LIB_SRCS) -o $@
|
2017-11-17 21:33:31 +00:00
|
|
|
|
2017-11-17 21:32:47 +00:00
|
|
|
clean:
|
2018-05-12 15:29:24 +00:00
|
|
|
rm -f $(APPS)
|