X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68df5777c7f72890dccef9dd9160397f2a834bb4..e1e1272f2020447bc26e10fc2cb2809e0b8eb856:/utils/tex2rtf/src/makefile.unx diff --git a/utils/tex2rtf/src/makefile.unx b/utils/tex2rtf/src/makefile.unx index 4a818458f9..a16e29eaa7 100644 --- a/utils/tex2rtf/src/makefile.unx +++ b/utils/tex2rtf/src/makefile.unx @@ -1,6 +1,7 @@ # makefile -CC = g++ +CXXFLAGS = `wx-config --cxxflags` +LDFLAGS = `wx-config --libs` PROGRAM = tex2rtf @@ -11,12 +12,12 @@ OBJECTS = tex2rtf.o tex2any.o texutils.o rtfutils.o xlputils.o htmlutil.o readsh .SUFFIXES: .o .cpp .cpp.o : - $(CC) -c `wx-config --cflags` -o $@ $< + $(CXX) -c $(CXXFLAGS) -o $@ $< all: $(PROGRAM) $(PROGRAM): $(OBJECTS) - $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` + $(CXX) -o $(PROGRAM) $(OBJECTS) $(LDFLAGS) clean: rm -f *.o $(PROGRAM)