summaryrefslogtreecommitdiffstats
path: root/service/other/rpc_library/tool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'service/other/rpc_library/tool/Makefile')
-rwxr-xr-xservice/other/rpc_library/tool/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/service/other/rpc_library/tool/Makefile b/service/other/rpc_library/tool/Makefile
index f4e1359..393f27c 100755
--- a/service/other/rpc_library/tool/Makefile
+++ b/service/other/rpc_library/tool/Makefile
@@ -24,8 +24,12 @@ YFLAGS := -d -t
LEX := flex
LFLAGS := -d
-CPPFLAGS := -I../library/include -include $(SDKTARGETSYSROOT)/usr/include/basesystem/agl_types_deprecated.h
-CFLAGS := -Wall -Wno-unused-function -Wno-unused-variable -include $(SDKTARGETSYSROOT)/usr/include/basesystem/agl_types_deprecated.h
+CPPFLAGS += -I../library/include
+CPPFLAGS += -include agl_types_deprecated.h
+
+CFLAGS += -Wall -Wno-unused-function -Wno-unused-variable
+CFLAGS += -I../library/include
+CFLAGS += -include agl_types_deprecated.h
rpc_apidef: apidef.tab.o lex.yy.o apidef.o
$(CXX) $(CPPFLAGS) -o $@ $^