X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6656ccb149683950e871b5022d2b88b03712165..e1e1272f2020447bc26e10fc2cb2809e0b8eb856:/utils/tex2rtf/src/makefile.unx diff --git a/utils/tex2rtf/src/makefile.unx b/utils/tex2rtf/src/makefile.unx index 7063ceaebc..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 --cxxflags` -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)