--- libaitrpc/example/Makefile 2011/08/29 22:37:06 1.3 +++ libaitrpc/example/Makefile 2015/01/15 01:42:36 1.9 @@ -1,6 +1,12 @@ 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 tcli tcli.c \ + -lelwix -laitsched -laitrpc -lpthread + cc -g -I/usr/local/include -I. -L. -L../lib -L/usr/local/lib -o tcli2 tcli2.c \ + -lelwix -laitsched -laitrpc -lpthread clean: - rm -f tsrv tcli *.core + rm -f tsrv tsrv2 tcli tcli2 *.core