--- libaitrpc/example/Makefile 2011/05/02 23:12:07 1.2 +++ libaitrpc/example/Makefile 2015/07/02 22:28:13 1.11 @@ -1,6 +1,20 @@ all: - gcc -g -I../inc -I. -L. -L../lib -L/usr/local/lib -o tsrv -export-dynamic tsrv.c -laitrpc -pthread - gcc -g -I../inc -I. -L. -L../lib -L/usr/local/lib -o tcli tcli.c -laitrpc -pthread + 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 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 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 tcli2 tcliext tcli_un *.core