Skip to content

Commit

Permalink
rev to 0.9.1, opt instead of debug Onyx builds
Browse files Browse the repository at this point in the history
  • Loading branch information
classilla committed Jul 11, 2018
1 parent c81a1db commit ca0d0ab
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 47 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ onyx
*.exe
*.xpi
*.dmg
mac/Onyx.app
mac/Onyx.app/*
mac/*
*.dSYM
*.dSYM/*
.DS_Store
Expand Down
4 changes: 2 additions & 2 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.9.0.0</string>
<string>0.9.1.0</string>
<key>CFBundleVersion</key>
<string>900.0.0</string>
<string>901.0.0</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
</dict>
Expand Down
6 changes: 4 additions & 2 deletions Makefile.generic
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
CC = /usr/bin/gcc
CFLAGS ?= -O2
#CFLAGS ?= -DDEBUG
RM = /bin/rm
default: onyx
.PHONY: default clean

onyx: onyx.c
$(CC) -DDEBUG -g -o onyx onyx.c
$(CC) $(CFLAGS) -g -o onyx onyx.c

# Optional. client.pl is preferred for testing.
client: client.c
$(CC) -DDEBUG -g -o client client.c
$(CC) $(CFLAGS) -g -o client client.c

clean:
$(RM) -rf onyx client onyx.dSYM client.dSYM
4 changes: 3 additions & 1 deletion Makefile.mxe
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
MXE_ROOT=$(HOME)/mxe
CC=$(MXE_ROOT)/usr/bin/i686-w64-mingw32.static-gcc
CFLAGS ?= -O2
#CFLAGS ?= -DDEBUG
MAKENSIS=$(MXE_ROOT)/usr/i686-w64-mingw32.static/bin/makensis
RM=/bin/rm

onyxinst.exe: onyx.exe onyx.nsi wintest.exe
$(MAKENSIS) onyx.nsi

onyx.exe: onyx.c
$(CC) -DDEBUG -g -o onyx.exe onyx.c -lws2_32
$(CC) $(CFLAGS) -g -o onyx.exe onyx.c -lws2_32

wintest.exe: wintest.c
$(CC) -g -o wintest.exe wintest.c -lws2_32
Expand Down
38 changes: 0 additions & 38 deletions mac/Mac Read Me.rtf

This file was deleted.

1 change: 1 addition & 0 deletions onyx.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <netdb.h>
#endif

/* Protocol version, not file version. */
#define VERSION "1"

// Size per network read (max). This seems pretty good.
Expand Down
4 changes: 2 additions & 2 deletions onyx.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Name "OverbiteNX Onyx Component"
OutFile "onyxinst.exe"
InstallDir "$LOCALAPPDATA\OverbiteNX"

VIProductVersion "0.9.0.0"
VIAddVersionKey "FileVersion" "0.9.0.0"
VIProductVersion "0.9.1.0"
VIAddVersionKey "FileVersion" "0.9.1.0"
VIAddVersionKey "ProductName" "OverbiteNX Onyx Component Installer"
VIAddVersionKey "CompanyName" "The Overbite Project"
VIAddVersionKey "LegalCopyright" "© 2018 Cameron Kaiser"
Expand Down

0 comments on commit ca0d0ab

Please sign in to comment.