Skip to content

Commit

Permalink
Added new version. Added make release command
Browse files Browse the repository at this point in the history
  • Loading branch information
Fubukimaru committed Apr 16, 2019
1 parent a293bad commit 2a18bf5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
9 changes: 7 additions & 2 deletions src/dura.y
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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

Expand Down
7 changes: 6 additions & 1 deletion src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 2a18bf5

Please sign in to comment.