From a6b03ddfd6abcbbaa26f701f8b679d87faec06f8 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 31 Jan 2012 12:35:18 +0000 Subject: Font editor makefile for Windows 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 -- cgit v0.9.2-21-gd62e