-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile.WinCE
33 lines (22 loc) · 871 Bytes
/
Makefile.WinCE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- Makefile -*-
#
# Makefile.WinCE - Makefile rules for WindowsCE
#
PREF = /usr/local/mingw32ce/arm-wince-mingw32ce
INCS = `$(PREF)/bin/sdl-config --cflags` `$(PREF)/bin/freetype-config --cflags`
LIBS = -static `$(PREF)/bin/sdl-config --libs` -lSDL_ttf -lSDL_image -lSDL_mixer -lSDL -lfreetype -ljpeg -lpng -lz -lbz2
# QVGA (320x240)
#DEFS = -DWINCE -DWIN32 -DPDA_WIDTH=320 -DBPP16
# VGA (640x480)
DEFS = -DWINCE -DWIN32 -DPDA_WIDTH=640 -DBPP16
EXESUFFIX = .exe
OBJSUFFIX = .o
.SUFFIXES:
.SUFFIXES: $(OBJSUFFIX) .cpp .h
CC = arm-wince-mingw32ce-g++ -finput-charset=cp932 -fexec-charset=cp932
LD = arm-wince-mingw32ce-g++ -finput-charset=cp932 -fexec-charset=cp932 -o
CFLAGS = -O3 -Wall -fno-exceptions -fno-rtti -fno-check-new -fomit-frame-pointer -pipe -c $(INCS) $(DEFS)
RM = rm -f
TARGET = onscripter$(EXESUFFIX)
EXT_OBJS =
include Makefile.onscripter