mirror of
https://github.com/google/brotli.git
synced 2024-11-22 19:50:06 +00:00
26 lines
453 B
Makefile
26 lines
453 B
Makefile
#brotli/tools
|
|
|
|
include ../shared.mk
|
|
|
|
BROTLI = ..
|
|
ENCOBJ = $(BROTLI)/enc/*.o
|
|
DECOBJ = $(BROTLI)/dec/*.o
|
|
|
|
EXECUTABLES=bro
|
|
|
|
EXE_OBJS=$(patsubst %, %.o, $(EXECUTABLES))
|
|
|
|
all : $(EXECUTABLES)
|
|
|
|
$(EXECUTABLES) : $(EXE_OBJS) deps
|
|
$(CXX) $(LFLAGS) $(ENCOBJ) $(DECOBJ) $@.o -o $@
|
|
|
|
deps :
|
|
$(MAKE) -C $(BROTLI)/dec
|
|
$(MAKE) -C $(BROTLI)/enc nodict
|
|
|
|
clean :
|
|
rm -f $(OBJS) $(EXE_OBJS) $(EXECUTABLES)
|
|
$(MAKE) -C $(BROTLI)/dec clean
|
|
$(MAKE) -C $(BROTLI)/enc clean
|