Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /usr/src/linux-headers-6.14.0-1012-aws/tools/net/ynl/lib/ |
Upload File : |
# SPDX-License-Identifier: GPL-2.0 CC=gcc CFLAGS += -std=gnu11 -O2 -W -Wall -Wextra -Wno-unused-parameter -Wshadow ifeq ("$(DEBUG)","1") CFLAGS += -g -fsanitize=address -fsanitize=leak -static-libasan endif SRCS=$(wildcard *.c) OBJS=$(patsubst %.c,%.o,${SRCS}) include $(wildcard *.d) all: ynl.a ynl.a: $(OBJS) @echo -e "\tAR $@" @ar rcs $@ $(OBJS) clean: rm -f *.o *.d *~ distclean: clean rm -f *.a %.o: %.c $(COMPILE.c) -MMD -c -o $@ $< .PHONY: all clean distclean .DEFAULT_GOAL=all