Created DLL build configurations for samples in Code::Blocks and Visual C++ project files
Removed unused stuff from extlibs headers Removed source files from generated API documentation Removed the qt and wxwidgets samples Fixed minor warnings in Packet.cpp git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1499 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
c0b84d3469
commit
3a17e35cac
122 changed files with 19001 additions and 33784 deletions
|
@ -1,8 +1,8 @@
|
|||
export SRCROOT = ../..
|
||||
export BINPATH = ../../bin
|
||||
export CPP = g++
|
||||
export CFLAGS = -W -Wall -ansi -g -O2 -DNDEBUG -I../../include
|
||||
export SAMPLES = ftp opengl pong qt shader sockets sound sound_capture voip window wxwidgets X11
|
||||
export CPP = g++
|
||||
export CFLAGS = -W -Wall -ansi -g -O2 -DNDEBUG -I../../include
|
||||
export SAMPLES = ftp opengl pong shader sockets sound sound_capture voip window X11
|
||||
|
||||
all: $(SAMPLES)
|
||||
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
EXE = qt
|
||||
SRC = $(wildcard $(SRCROOT)/$(EXE)/*.cpp)
|
||||
OBJ = $(SRC:.cpp=.o)
|
||||
LDFLAGS = -lsfml-graphics -lsfml-window -lsfml-system -lQtCore -lQtGui -lX11
|
||||
CFLAGS += -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
|
||||
|
||||
all: $(EXE)
|
||||
|
||||
$(EXE): $(OBJ)
|
||||
$(CPP) -o $(BINPATH)/$(EXE) $(OBJ) $(LDFLAGS)
|
||||
|
||||
$(OBJ): %.o: %.cpp
|
||||
$(CPP) -o $@ -c $< $(CFLAGS)
|
||||
|
||||
.PHONY: clean mrproper
|
||||
|
||||
clean:
|
||||
@rm -rf $(OBJ)
|
||||
|
||||
mrproper: clean
|
||||
@rm -rf $(BINPATH)/$(EXE)
|
|
@ -1,21 +0,0 @@
|
|||
EXE = wxwidgets
|
||||
SRC = $(wildcard $(SRCROOT)/$(EXE)/*.cpp)
|
||||
OBJ = $(SRC:.cpp=.o)
|
||||
LDFLAGS = -lsfml-graphics -lsfml-window -lsfml-system `wx-config --libs` `pkg-config --libs gtk+-2.0`
|
||||
CFLAGS += -I/usr/include/gtk-2.0 `wx-config --cppflags` `pkg-config --cflags gtk+-2.0`
|
||||
|
||||
all: $(EXE)
|
||||
|
||||
$(EXE): $(OBJ)
|
||||
$(CPP) -o $(BINPATH)/$(EXE) $(OBJ) $(LDFLAGS)
|
||||
|
||||
$(OBJ): %.o: %.cpp
|
||||
$(CPP) -o $@ -c $< $(CFLAGS)
|
||||
|
||||
.PHONY: clean mrproper
|
||||
|
||||
clean:
|
||||
@rm -rf $(OBJ)
|
||||
|
||||
mrproper: clean
|
||||
@rm -rf $(BINPATH)/$(EXE)
|
Loading…
Add table
Add a link
Reference in a new issue