tex2rtf: fixes to makefile.unx to make rpm spec file possible

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-08-08 18:21:44 +00:00
parent c82da8109c
commit 8ac5de361e

View File

@@ -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 :
$(CXX) -c `wx-config --cxxflags` -o $@ $<
$(CXX) -c $(CXXFLAGS) -o $@ $<
all: $(PROGRAM)
$(PROGRAM): $(OBJECTS)
$(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
$(CXX) -o $(PROGRAM) $(OBJECTS) $(LDFLAGS)
clean:
rm -f *.o $(PROGRAM)