Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/simtr/The-Powder-Toy
Browse files Browse the repository at this point in the history
  • Loading branch information
simtr committed Jul 17, 2016
2 parents 3b106b7 + 0c97246 commit 85bdeae
Show file tree
Hide file tree
Showing 17 changed files with 958 additions and 295 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -18,6 +18,7 @@ Saves/*
scripts/*
generated/*
includes/*
font/*
generate
Makefile.me
*.xcodeproj
Expand Down
519 changes: 260 additions & 259 deletions data/font.h

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions font/Makefile
@@ -0,0 +1,21 @@

editor: editor.c
gcc -oeditor -DSCALE=1 -DFONTEDITOR editor.c -lSDL -lm -O3 -ffast-math -march=k8

editor.exe: editor.c
i686-w64-mingw32-gcc -oeditor.exe -DSCALE=1 -DFONTEDITOR editor.c -lmingw32 -lm -lSDLmain -lSDL -O3 -ffast-math -march=k8 -mwindows

packer: packer.c
gcc -opacker -DFONTEDITOR packer.c -lm -O3 -ffast-math -march=k8

packer.exe: packer.c
i686-w64-mingw32-gcc -opacker.exe -DFONTEDITOR packer.c -lm -O3 -ffast-math -march=k8

unpacker: unpacker.c
gcc -ounpacker -DFONTEDITOR unpacker.c -lm -O3 -ffast-math -march=k8

unpacker.exe: unpacker.c
i686-w64-mingw32-gcc -ounpacker.exe -DFONTEDITOR unpacker.c -lm -O3 -ffast-math -march=k8

clean:
rm -f editor packer unpacker editor.exe packer.exe unpacker.exe

0 comments on commit 85bdeae

Please sign in to comment.