precomp-cpp/contrib/bzip2/Makefile.32
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
226 B
Text

OBJECTS = bzlib.o blocksort.o crctable.o compress.o decompress.o huffman.o randtable.o
CFLAGS = -D_FILE_OFFSET_BITS=64 -O2 -Wall
.PHONY: all
all: $(OBJECTS)
.PHONY: clean
clean:
rm -f *.o
%.o: %.c
gcc -g -c $(CFLAGS) $<