things
This commit is contained in:
parent
bbc8b871bb
commit
933f276e1a
73 changed files with 1350 additions and 306 deletions
8
Makefile
8
Makefile
|
|
@ -9,17 +9,17 @@ SO = .so
|
|||
EXEC =
|
||||
|
||||
.PHONY: all format clean
|
||||
.SUFFIXES: .cxx .o
|
||||
.SUFFIXES: .cc .o
|
||||
|
||||
all: libMwCXX$(SO)
|
||||
|
||||
format:
|
||||
clang-format --verbose -i `find . -name "*.cxx" -or -name "*.h"`
|
||||
clang-format --verbose -i `find . -name "*.cc" -or -name "*.h"`
|
||||
|
||||
OBJS = src/core.o src/widget/base.o
|
||||
include objs.mk
|
||||
|
||||
src/widget/base.o: src/widget/base.cxx src/widget/baseauto.cxx
|
||||
src/widget/base.o: src/widget/base.cc src/widget/baseauto.cc
|
||||
|
||||
bindgen$(EXEC): bindgen.o
|
||||
$(CXX) -L$(XEMIL)/lib -L$(XEMIL)/src -o $@ bindgen.o -lxemil
|
||||
|
|
@ -27,7 +27,7 @@ bindgen$(EXEC): bindgen.o
|
|||
libMwCXX$(SO): $(OBJS)
|
||||
$(CXX) -shared -L$(MILSKO)/lib -L$(MILSKO)/src -o $@ $(OBJS) -lMw
|
||||
|
||||
.cxx.o:
|
||||
.cc.o:
|
||||
$(CXX) -fPIC -c -Iinclude -I$(MILSKO)/include -I$(XEMIL)/include -o $@ $<
|
||||
|
||||
clean:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue