Hii
Lamego
I got some error message as :
[hk@localhost minimal]$ make -f mkh2.unx
mkh2.unx:10: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
but use the default make file is all right:
# by default, wx-config from the PATH is used
WX_CONFIG := wx-config
# set this to the name of the main executable file
PROGRAM = ScrollTextSampleApp
# if your program has more than one source file, add more .o files to the line
# below
OBJECTS = $(PROGRAM).o ScrollTextSampleFrm.o wxScrollText.o
# you shouldn't have to edit anything below this line
CXX = $(shell $(WX_CONFIG) --cxx)
.SUFFIXES: .o .cpp
.cpp.o :
$(CXX) -c `$(WX_CONFIG) --cxxflags` -o $@ $<
all: $(PROGRAM)
$(PROGRAM): $(OBJECTS)
$(CXX) -o $(PROGRAM) $(OBJECTS) `$(WX_CONFIG) --libs`
clean:
rm -f *.o $(PROGRAM)
Would you please to help me ?