1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/EN7526G_3.18Kernel_SDK/apps/public/linux-atm/switch/Makefile
2024-07-22 01:58:46 -03:00

21 lines
368 B
Makefile
Executable File

LDLIBS=-latmd
LIBDEPS=../lib/libatmd.a
SW_OBJS=control.o dispatch.o proto.o relay.o route.o sig.o lex.yy.o y.tab.o
SUBDIRS=debug tcp
PGMS=swc
all:
do_all: libsw.a
include ../Rules.make
lex.yy.c: cfg.l y.tab.h ../lib/atm.h
$(LEX) cfg.l
y.tab.c y.tab.h: cfg.y ../lib/atmd.h route.h sig.h
$(YACC) -d cfg.y
libsw.a: $(SW_OBJS)
ar rcs libsw.a $(SW_OBJS)