浏览代码

:tada: Ajout fichier encodeur JSON

Arthur Brandao 6 年之前
父节点
当前提交
83530a90a4
共有 2 个文件被更改,包括 12 次插入1 次删除
  1. 10 0
      Serveur/json_encoder.c
  2. 2 1
      Serveur/makefile

+ 10 - 0
Serveur/json_encoder.c

@@ -0,0 +1,10 @@
+/* 
+ * File:   json_parser.c
+ * Author: Arthur Brandao
+ *
+ * Created on 29 octobre 2018
+ */
+#include <stdio.h>
+#include <stdlib.h>
+#include "json.h"
+

+ 2 - 1
Serveur/makefile

@@ -3,7 +3,7 @@
 #
 
 EXEC = main
-OBJETS = json_parser.o
+OBJETS = json_parser.o json_encoder.o
 NOM_PROJET = Porjet Reseau
 
 #
@@ -89,4 +89,5 @@ archive: clean
 
 # DEPENDANCES
 json_parser.o: json_parser.c json.h boolean.h
+json_encoder.o: json_encoder.c json.h boolean.h
 main.o: main.c json.h boolean.h