From 02a6ab32e2dd329e389762a8522050819b3b14e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E5=AE=89?= Date: Thu, 3 Dec 2015 09:26:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Makefile=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BB=A4=E5=85=B6=E5=9C=A8=E7=BC=96=E8=AF=91test=E6=97=B6?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E4=BA=8Etest.c=E6=96=87=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sys_nicmonitor/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sys_nicmonitor/Makefile b/src/sys_nicmonitor/Makefile index eeaa2e7..d357366 100644 --- a/src/sys_nicmonitor/Makefile +++ b/src/sys_nicmonitor/Makefile @@ -12,7 +12,7 @@ sys_nicmonitor:mnic.o read_netcard.o send_alarm.o $(CC) -lman -ldotconf -lpthread -o $@ $^ libnic_shm.so:nicinfo_shm.c $(CC) -fpic -shared -o $@ $^ -test: +test:test.c gcc -o test test.c -lnic_shm -L=./ -lpthread runtest: LD_LIBRARY_PATH=./ ./test bond0 5000 &