~kiwec/ke

b999c3d850f389ba9dbb9e19e77f1baa8a88261a — Wolf Clément 3 years ago 38565e0
Compile with zapcc instead of clang
5 files changed, 6 insertions(+), 8 deletions(-)

M Makefile
M src/Document.hpp
M src/Editable.cpp
M src/Line.hpp
M src/Syntax.hpp
M Makefile => Makefile +3 -3
@@ 4,9 4,9 @@ DEP      = $(OBJ:.o=.d)
TESTS    = $(wildcard test/*.cpp)
TOBJ     = $(TESTS:.cpp=.o)
TDEP     = $(TOBJ:.o=.d)
CXX      = clang++
CXXFLAGS = -std=c++17
LDFLAGS  = -lclang -ltermbox
CXX      = zapcc
CXXFLAGS = -std=c++1z
LDFLAGS  = -lclang -ltermbox -lstdc++ -lm
TARGET   = ke

$(TARGET): $(OBJ)

M src/Document.hpp => src/Document.hpp +1 -1
@@ 1,6 1,6 @@
#pragma once
#include <assert.h>
#include <cstdint>
#include <stdint.h>
#include "Syntax.hpp"

class Line;

M src/Editable.cpp => src/Editable.cpp +0 -2
@@ 1,5 1,3 @@
#include <codecvt>
#include <locale>
#include "Editable.hpp"
#include "Line.hpp"


M src/Line.hpp => src/Line.hpp +1 -1
@@ 1,5 1,5 @@
#pragma once
#include <cstdint>
#include <stdint.h>
#include <memory>
#include "Syntax.hpp"


M src/Syntax.hpp => src/Syntax.hpp +1 -1
@@ 1,5 1,5 @@
#pragma once
#include <cstdint>
#include <stdint.h>
#include <vector>

using syntax_t = uint8_t;