This commit is contained in:
Nishi 2026-04-18 01:05:20 +09:00
commit 933f276e1a
Signed by: nishi
GPG key ID: 27EF69B208EB9343
73 changed files with 1350 additions and 306 deletions

View file

@ -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: