aboutsummaryrefslogtreecommitdiffstats
path: root/devel/sfml/files/patch-src-SFML-Window-Makefile
blob: 7b95a5cc13192b4574c957cca292a957f43654c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/SFML/Window/Makefile.orig   2009-05-28 19:57:08.000000000 +0400
+++ src/SFML/Window/Makefile    2009-07-07 19:51:46.000000000 +0400
@@ -18,10 +18,10 @@
    $(AR) $(ARFLAGS) $(LIBNAME) $(OBJ)
 
 libsfml-window.so: $(OBJ)
-   $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) $(OBJGLEW) -lX11 -lXrandr -lGL
+   $(CXX) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) $(OBJGLEW) -lX11 -lXrandr -lGL
 
 $(OBJ): %.o: %.cpp
-   $(CPP) -o $@ -c $< $(CFLAGS)
+   $(CXX) -o $@ -c $< $(CXXFLAGS)
 
 .PHONY: clean mrproper