1 diff -ru xorg-edit~/sources/Makefile xorg-edit/sources/Makefile
2 --- xorg-edit~/sources/Makefile 2006-08-12 20:46:06.000000000 +0200
3 +++ xorg-edit/sources/Makefile 2006-08-12 20:49:18.000000000 +0200
8 -CXX = `wx-config --cxx`
9 +CXX ?= `wx-config --cxx`
10 +LDFLAGS+=`wx-config --libs`
11 +CXXFLAGS+=`wx-config --cxxflags`
21 $(PROGRAM): $(OBJECTS)
22 - $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
24 -$(OBJECTS): $(SOURCES)
25 - $(CXX) -c $(SOURCES) `wx-config --cxxflags`
26 + $(CXX) -o $(PROGRAM) $(OBJECTS) $(LDFLAGS)
29 + $(CXX) -o $@ -c $< $(CXXFLAGS)