summaryrefslogtreecommitdiff
path: root/protocols/Telegram/docs/tgl/Makefile.tl-parser
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/docs/tgl/Makefile.tl-parser')
-rw-r--r--protocols/Telegram/docs/tgl/Makefile.tl-parser7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/Telegram/docs/tgl/Makefile.tl-parser b/protocols/Telegram/docs/tgl/Makefile.tl-parser
new file mode 100644
index 0000000000..9600514661
--- /dev/null
+++ b/protocols/Telegram/docs/tgl/Makefile.tl-parser
@@ -0,0 +1,7 @@
+TL_PARSER_OBJECTS=${OBJ}/tl-parser.o ${OBJ}/tlc.o ${OBJ}/crc32.o
+
+${TL_PARSER_OBJECTS}: ${OBJ}/%.o: ${srcdir}/tl-parser/%.c | create_dirs
+ ${CC} ${INCLUDE} ${COMPILE_FLAGS} -iquote ${srcdir}/tl-parser -c -MP -MD -MF ${DEP}/$*.d -MQ ${OBJ}/$*.o -o $@ $<
+
+${EXE}/tl-parser: ${TL_PARSER_OBJECTS}
+ ${CC} $^ ${LINK_FLAGS} -o $@