# # 3 proxy Makefile for GCC/windows # # You can try to remove -DWITH_STD_MALLOC to CFLAGS to use optimized malloc # libraries # # remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC # library support BUILDDIR = ../bin/ CC = /opt/cegcc/arm-wince-cegcc/bin/gcc CFLAGS = -O2 -s -c -mthreads -DWITH_STD_MALLOC -DNOODBC -D_WINCE -D_WIN32 -D__USE_W32_SOCKETS COUT = -o LN = /opt/cegcc/arm-wince-cegcc/bin/gcc LDFLAGS = -O2 -s -mthreads DLFLAGS = -shared DLSUFFICS = .dll LIBS = -lws2 LNOUT = -o EXESUFFICS = .exe OBJSUFFICS = .o DEFINEOPTION = -D COMPFILES = *.tmp REMOVECOMMAND = rm -f TYPECOMMAND = more COMPATLIBS = MAKEFILE = Makefile.winCE PLUGINS = TrafficPlugin StringsPlugin PCREPlugin include Makefile.inc allplugins: @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; make ; rm *.o ; cd ../.. ; done