summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--font/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/font/Makefile b/font/Makefile
index 606d53b..608827d 100644
--- a/font/Makefile
+++ b/font/Makefile
@@ -1,11 +1,20 @@
editor: editor.c
gcc -oeditor -DSCALE=2 -DFONTEDITOR editor.c -lSDL -lm -O3 -ffast-math -march=k8 -Wall -std=c99
+editor.exe: editor.c
+ gcc -oeditor.exe -DSCALE=2 -DFONTEDITOR editor.c -lmingw32 -lm -lSDLmain -lSDL -O3 -ffast-math -march=k8 -Wall -std=c99 -mwindows
+
packer: packer.c
gcc -opacker -DFONTEDITOR packer.c -lm -O3 -ffast-math -march=k8 -Wall -std=c99
+packer.exe: packer.c
+ gcc -opacker.exe -DFONTEDITOR packer.c -lm -O3 -ffast-math -march=k8 -Wall -std=c99
+
unpacker: unpacker.c
gcc -ounpacker -DFONTEDITOR unpacker.c -lm -O3 -ffast-math -march=k8 -Wall -std=c99
+unpacker.exe: unpacker.c
+ gcc -ounpacker.exe -DFONTEDITOR unpacker.c -lm -O3 -ffast-math -march=k8 -Wall -std=c99
+
clean:
- rm -f editor packer unpacker
+ rm -f editor packer unpacker editor.exe packer.exe unpacker.exe