Use EBCL
This commit is contained in:
parent
6b4bb99469
commit
90abab29a3
4 changed files with 21 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -41,11 +41,12 @@ DEMO = \
|
|||
IMGUI_OBJS = $(addprefix $(OUTDIR)/, $(addsuffix .o, $(basename $(IMGUI))))
|
||||
DEMO_OBJS = $(addprefix $(OUTDIR)/, $(addsuffix .o, $(basename $(DEMO))))
|
||||
OBJS = $(IMGUI_OBJS) $(DEMO_OBJS)
|
||||
LIBEBCL = $(OUTDIR)/libebcorelib.a
|
||||
PCH=externals.hh.gch
|
||||
|
||||
DEMO_DEPS = $(DEMO_OBJS:$(OUTDIR)/%.o=$(OUTDIR)/%.d)
|
||||
|
||||
demo: $(OBJS)
|
||||
demo: $(LIBEBCL) $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -o demo \
|
||||
$(OBJS) $(LIBS)
|
||||
|
||||
|
@ -75,5 +76,8 @@ $(DEMO_OBJS): $(OUTDIR)/%.o: %.cc $(PCH) | outdir $(FILEDUMPS)
|
|||
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<
|
||||
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -M -MF $(@:%.o=%.d) -MT $@ $<
|
||||
|
||||
$(LIBEBCL): ebcl-config
|
||||
+make -C ebcl CONFIG=../ebcl-config
|
||||
|
||||
$(PCH): externals.hh
|
||||
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue