use debhacks; add flags to compile for wince

This commit is contained in:
ehouse 2006-01-28 19:05:39 +00:00
parent 3f577181dd
commit 8fc0404158

View file

@ -22,7 +22,7 @@ WINDRES = arm-wince-pe-windres
STRIP = arm-wince-pe-strip STRIP = arm-wince-pe-strip
CELIBS = -L/usr/arm-wince-pe/lib CELIBS = -L/usr/arm-wince-pe/lib
TARGET_OS_DEF = -DTARGET_OS_WINCE TARGET_OS_DEF = -DTARGET_OS_WINCE
CFLAGS += -DUNDER_CE CFLAGS += -DUNDER_CE -DCANT_DO_CMDBAR -DUSE_DEB_HACKS -fdollars-in-identifiers
else else
ifeq ($(TARGET_OS),win32) ifeq ($(TARGET_OS),win32)
CC = i586-mingw32msvc-gcc CC = i586-mingw32msvc-gcc
@ -60,6 +60,7 @@ WINCESRC = \
ceprefs.c \ ceprefs.c \
cestrbx.c \ cestrbx.c \
cedraw.c \ cedraw.c \
debhacks.c \
WINCEOBJS = $(patsubst %.c,%.o,$(addprefix $(OBJDIR)/,$(WINCESRC))) WINCEOBJS = $(patsubst %.c,%.o,$(addprefix $(OBJDIR)/,$(WINCESRC)))
@ -110,8 +111,8 @@ $(OBJDIR)/xwords4.rc.o : xwords4.rc $(INCLUDES)
SHIP: $(TARGET) SHIP: $(TARGET)
$(STRIP) $< $(STRIP) $<
ifdef UPLOAD_LOC ifdef WINCE_UPLOAD_LOC
cp $< $(UPLOAD_LOC) cp $< $(WINCE_UPLOAD_LOC)
endif endif
test: test: