diff --git a/.gitignore b/.gitignore index 634f103..2dcb681 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,9 @@ +*.swp y2j +j2y !y2j/ y2j-linux y2j-mac y2j.exe y.output -yara-parser \ No newline at end of file +yara-parser diff --git a/Makefile b/Makefile index 21cbcd2..c9e98d9 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ j2y: y2j: go build github.com/VirusTotal/gyp/cmd/y2j -release: parser lexer +release: GOOS=linux go build -o y2j-linux github.com/VirusTotal/gyp/cmd/y2j GOOS=darwin go build -o y2j-mac github.com/VirusTotal/gyp/cmd/y2j GOOS=windows go build -o y2j.exe github.com/VirusTotal/gyp/cmd/y2j