--- libaitrpc/example/Makefile 2010/06/18 01:48:06 1.1 +++ libaitrpc/example/Makefile 2016/08/08 13:21:13 1.12 @@ -1,6 +1,24 @@ all: - gcc -g -I../inc -I. -L. -L../lib -o tsrv -rdynamic tsrv.c -laitrpc - gcc -g -I../inc -I. -L. -L../lib -o tcli tcli.c -laitrpc + cc -g -I/usr/local/include -I. -L. -L../lib -L/usr/local/lib -o tsrv tsrv.c \ + -lelwix -laitsched -laitrpc -lpthread + cc -g -I/usr/local/include -I. -L. -L../lib -L/usr/local/lib -o tsrv6 tsrv6.c \ + -lelwix -laitsched -laitrpc -lpthread + cc -g -I/usr/local/include -I. -L. -L../lib -L/usr/local/lib -o tsrv2 tsrv2.c \ + -lelwix -laitsched -laitrpc -lpthread + cc -g -I/usr/local/include -I. -L. -L../lib -L/usr/local/lib -o tsrvext tsrvext.c \ + -lelwix -laitsched -laitrpc -lpthread + cc -g -I/usr/local/include -I. -L. -L../lib -L/usr/local/lib -o tsrv_un tsrv_un.c \ + -lelwix -laitsched -laitrpc -lpthread + cc -g -I/usr/local/include -I. -L. -L../lib -L/usr/local/lib -o tcli tcli.c \ + -lelwix -laitsched -laitrpc_cli -lpthread + cc -g -I/usr/local/include -I. -L. -L../lib -L/usr/local/lib -o tcli6 tcli6.c \ + -lelwix -laitsched -laitrpc_cli -lpthread + cc -g -I/usr/local/include -I. -L. -L../lib -L/usr/local/lib -o tcli2 tcli2.c \ + -lelwix -laitsched -laitrpc_cli -lpthread + cc -g -I/usr/local/include -I. -L. -L../lib -L/usr/local/lib -o tcliext tcliext.c \ + -lelwix -laitsched -laitrpc_cli -lpthread + cc -g -I/usr/local/include -I. -L. -L../lib -L/usr/local/lib -o tcli_un tcli_un.c \ + -lelwix -laitsched -laitrpc_cli -lpthread clean: - rm -f tsrv tcli + rm -f tsrv tsrv2 tsrvext tsrv_un tcli tcli6 tcli2 tcliext tcli_un *.core