X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68df5777c7f72890dccef9dd9160397f2a834bb4..f2638c97a5d7c4bf724c5c227e273ab002f0af40:/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)