mirror of
https://github.com/schnaader/precomp-cpp
synced 2026-08-23 00:23:04 -04:00
this allows the user-specified CFLAGS/CXXFLAGS to take effect. assume that all platforms supporting C++ in 2021 also support stdbool.h.
12 lines
226 B
Text
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) $<
|