Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
zopfli
Makefile
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Makefile of Package zopfli
CC ?= gcc CXX ?= g++ CFLAGS += -W -Wall -Wextra -ansi -pedantic -O2 CXXFLAGS += -W -Wall -Wextra -ansi -pedantic -O2 LDFLAGS += -fPIC LIBS += -lm ZOPFLILIB_SRC = src/zopfli/blocksplitter.c src/zopfli/cache.c\ src/zopfli/deflate.c src/zopfli/gzip_container.c\ src/zopfli/hash.c src/zopfli/katajainen.c\ src/zopfli/lz77.c src/zopfli/squeeze.c\ src/zopfli/tree.c src/zopfli/util.c\ src/zopfli/zlib_container.c src/zopfli/zopfli_lib.c ZOPFLILIB_OBJ := $(patsubst %.c,%.o,$(ZOPFLILIB_SRC)) ZOPFLIBIN_SRC := src/zopfli/zopfli_bin.c LODEPNG_SRC := src/zopflipng/lodepng/lodepng.cpp src/zopflipng/lodepng/lodepng_util.cpp ZOPFLIPNGLIB_SRC := src/zopflipng/zopflipng_lib.cc ZOPFLIPNGBIN_SRC := src/zopflipng/zopflipng_bin.cc .PHONY: zopfli zopflipng # Zopfli binary zopfli: $(CC) $(ZOPFLILIB_SRC) $(ZOPFLIBIN_SRC) $(CFLAGS) $(LDFLAGS) -o zopfli $(LIBS) # Zopfli shared library libzopfli: $(ZOPFLILIB_OBJ) $(CC) $(ZOPFLILIB_OBJ) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,libzopfli.so.1 -o libzopfli.so.1.0.1 $(LIBS) # ZopfliPNG binary zopflipng: $(ZOPFLILIB_OBJ) $(CXX) $(ZOPFLILIB_OBJ) $(LODEPNG_SRC) $(ZOPFLIPNGLIB_SRC) $(ZOPFLIPNGBIN_SRC) $(CFLAGS) $(LDFLAGS) -o zopflipng $(LIBS) # ZopfliPNG shared library libzopflipng: $(ZOPFLILIB_OBJ) $(CXX) $(ZOPFLILIB_OBJ) $(LODEPNG_SRC) $(ZOPFLIPNGLIB_SRC) $(CFLAGS) $(LDFLAGS) --shared -Wl,-soname,libzopflipng.so.1 -o libzopflipng.so.1.0.0 $(LIBS) %.o : %.c $(CC) $(CFLAGS) $(LDFLAGS) -c $< -o $@ $(LIBS) # Remove all libraries and binaries clean: rm -f zopflipng zopfli $(ZOPFLILIB_OBJ) libzopfli*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor