TARGET= trayapp

#fow wince
CC_WINCE= /opt/mingw32ce/bin/arm-mingw32ce-g++ -D_WIN32_WCE=0x500 -D_WIN32_IE=0x600
LIB_WINCE= -I/opt/mingw32ce/arm-mingw32ce/include -L/opt/mingw32ce/arm-mingw32ce/lib -lcommctrl -laygshell -lcoredll
STRIP_WINCE= /opt/mingw32ce/bin/arm-mingw32ce-strip
#CFLAGS_WINCE= -fno-exceptions -finput-charset="cp1251"
CFLAGS_WINCE= -fno-exceptions

wince:
# Compiling for wince
	$(CC_WINCE) $(CFLAGS_WINCE) -o $(TARGET)_wince.exe $(TARGET).cpp $(LIB_WINCE)
	$(STRIP_WINCE) $(TARGET)_wince.exe

clean:
	rm -f $(TARGET)_linux $(TARGET)_win32.exe $(TARGET)_wince.exe

