first working (but ugly) version in C++

This commit is contained in:
2017-10-08 02:28:13 +02:00
parent 512744013e
commit e288c12ade
4 changed files with 433 additions and 252 deletions

View File

@@ -3,15 +3,15 @@ OUTPUT:= preparse
.PHONY: test debug clean
test: debug
all test: debug
./$(OUTPUT) test.tex
debug: CFLAGS:= -g
debug: CXXFLAGS:= -g
debug: $(OUTPUT)
clean:
$(RM) $(OBJ) $(OUTPUT)
$(OUTPUT): $(OBJ)
$(CC) $(OBJ) -o preparse
$(CXX) $(OBJ) -o preparse