precomp-cpp/contrib/zlib/Makefile
Alex Xu (Hello71) 3a84725d31 use __linux/__unix instead of CMAKE_C(XX)_FLAGS
this allows the user-specified CFLAGS/CXXFLAGS to take effect.

assume that all platforms supporting C++ in 2021 also support stdbool.h.
2021-11-20 10:30:19 -05:00

12 lines
229 B
Makefile

OBJECTS = adler32.o crc32.o zutil.o trees.o inftrees.o inffast.o inflate.o deflate.o
CFLAGS = -m64 -D_FILE_OFFSET_BITS=64 -O2 -Wall
.PHONY: all
all: $(OBJECTS)
.PHONY: clean
clean:
rm -f *.o
%.o: %.c
gcc -g -c $(CFLAGS) $<