3 IDIRS
=-I.
/brotli
/dec
/ -I.
/brotli
/enc
/ -I.
/src
7 GFLAGS
=-no-canonical-prefixes
-fno-omit-frame-pointer
-m64
8 CXXFLAGS
= -c
$(IDIRS
) -std
=c
++0x
$(GFLAGS
)
11 CXXFLAGS
+= -DOS_MACOSX
13 CXXFLAGS
+= -fno-tree-vrp
18 OUROBJ
= font.o glyph.o normalize.o table_tags.o transform.o \
19 woff2_dec.o woff2_enc.o
22 ENCOBJ
= $(BROTLI
)/enc
/*.o
23 DECOBJ
= $(BROTLI
)/dec
/*.o
25 OBJS
= $(patsubst %, $(SRCDIR
)/%, $(OUROBJ
))
26 EXECUTABLES
=woff2_compress woff2_decompress
28 EXE_OBJS
=$(patsubst %, $(SRCDIR
)/%.o
, $(EXECUTABLES
))
30 all : $(OBJS
) $(EXECUTABLES
)
32 $(EXECUTABLES
) : $(EXE_OBJS
) deps
33 $(CXX
) $(LFLAGS
) $(OBJS
) $(ENCOBJ
) $(DECOBJ
) $(SRCDIR
)/$@.o
-o
$@
40 rm -f
$(OBJS
) $(EXE_OBJS
) $(EXECUTABLES
)
41 make
-C
$(BROTLI
)/dec
clean
42 make
-C
$(BROTLI
)/enc
clean