diff --git a/CHANGELOG.md b/CHANGELOG.md index c4ef727..d9225e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# April 16, 2019 - v.0.19.1 + +- Added gtest for test coverage. +- Fixed error messages: now file, line number and error always are in the + same lines (Great for vim make!) +- New support for macOS. + # March 13, 2019 Replaced WAV writing code with new working version. diff --git a/src/dura.y b/src/dura.y index ce70048..d5baa09 100644 --- a/src/dura.y +++ b/src/dura.y @@ -91,6 +91,11 @@ v.0.19.0: [15/03/2019] Completed source code translation to English. Replaced WAV writing code with new working version. + v.0.19.1: [16/04/2019] + Added gtest for test coverage. + Fixed error messages: now file, line number and error always are in the + same lines (Great for vim make!) + New support for macOS. */ /* C headers and definitions */ @@ -99,8 +104,8 @@ #include "asmsx.h" -#define VERSION "0.19.0" -#define DATE "15/03/2019" +#define VERSION "0.19.1" +#define DATE "16/04/2019" #define MAX_ID 32000 diff --git a/src/makefile b/src/makefile index bbb8341..d8d9cfb 100644 --- a/src/makefile +++ b/src/makefile @@ -4,6 +4,7 @@ CC=gcc CCOSX=o64-clang c_files=dura.tab.c lex.yy.c lex.parser1.c lex.parser2.c lex.parser3.c asmsx.c OPT=-lm -O2 -Os -s -Wall -Wextra +VERSION=0.19.1 asmsx: $(c_files) asmsx.h $(CC) $(c_files) -o$@ $(OPT) @@ -23,8 +24,12 @@ lex.parser2.c: parser2.l flex -i -Pparser2 $< lex.parser3.c: parser3.l flex -i -Pparser3 $< +release: asmsx asmsx.exe asmsx.osx + zip asmsx_$(VERSION)_linux64.zip asmsx + zip asmsx_$(VERSION)_win32.zip asmsx.exe + zip asmsx_$(VERSION)_macOS64.zip asmsx.osx clean: - rm -f *.o *.tab.* lex.*.c asmsx asmsx-debug test *.exe ~* + rm -f *.o *.tab.* lex.*.c asmsx asmsx-debug test *.exe ~* *.osx asmsx_*.zip test: test.cpp asmsx.c asmsx.h gcc -c asmsx.c $(OPT) g++ -o test asmsx.o test.cpp -L/usr/local/lib -lgtest -lgtest_main -lpthread $(OPT)