-CC:=$(shell wx-config --cxx)
-CFLAGS:=$(shell wx-config --cxxflags) -I$(INC_DIR) -I$(RSRC_DIR) $(ARCH_SPECIFIC_CFLAGS)
-CFLAGS1:=$(shell wx-config --libs)
-+CC:=$(shell wxgtk-2.4-config --cxx)
-+CFLAGS:=$(OPT) $(shell wxgtk-2.4-config --cxxflags) -I$(INC_DIR) -I$(RSRC_DIR) $(ARCH_SPECIFIC_CFLAGS)
-+CFLAGS1:=$(shell wxgtk-2.4-config --libs)
++CC:=$(shell wxgtk2-2.4-config --cxx)
++CFLAGS:=$(OPT) $(shell wxgtk2-2.4-config --cxxflags) -I$(INC_DIR) -I$(RSRC_DIR) $(ARCH_SPECIFIC_CFLAGS)
++CFLAGS1:=$(shell wxgtk2-2.4-config --libs)
VPATH:=$(INC_DIR) $(SRC_DIR) $(RSRC_DIR)
@config_exists=no;\
for path_dir in `echo $(PATH) | tr : ' '`; do\
- if test -f $$path_dir/wx-config; then\
-+ if test -f $$path_dir/wxgtk-2.4-config; then\
++ if test -f $$path_dir/wxgtk2-2.4-config; then\
config_exists=yes;\
fi\
done;\