Modules
ADT Database GTK2 GUI IP PiJAX Public Sql Stdio Subversion System Tools Xosd lua v4l2 wx
Recent Changes
Public.Parser.XML2 1.50
Public.ZeroMQ 1.1
Public.Template.Mustache 1.0
Public.Protocols.XMPP 1.4
Sql.Provider.jdbc 1.0
Popular Downloads
Public.Parser.JSON2 1.0
Public.Parser.JSON 0.2
GTK2 2.23
Public.Web.FCGI 1.8
Public.Parser.XML2 1.48
|
Module Information
wx
Viewing contents of wx-0.4/Makefile
PIKE = pike
INSTALL = ginstall
OPTIONS = `wx-config --libs --cxxflags` -g
INCLUDES = `$(PIKE) -x module --query=include_path`
BINDGEN = $(PIKE) bindgen.pike
OBJECTS = wx.o handcoded.o handcoded2.o
CXX = g++
.PHONY: all install declarations clean
all: $(OBJECTS)
$(CXX) $(OBJECTS) -shared $(OPTIONS) -I $(INCLUDES) -o wx.so
%.o: %.cc
$(CXX) -c $< $(OPTIONS) -I $(INCLUDES)
wx.cc: declarations declarations/wx.binding
$(BINDGEN) declarations/wx.binding wx
declarations:
$(MAKE) -C declarations
install:
$(INSTALL) wx.so `$(PIKE) -x module --query=system_module_path`
clean:
rm -f $(OBJECTS) wx.so wx.cc wx.h
$(MAKE) -C declarations clean
|
|
|