precomp-cpp/contrib/giflib/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
205 B
Makefile

OBJECTS = gifalloc.o gif_err.o dgif_lib_gcc.o egif_lib_gcc.o
CFLAGS = -D_FILE_OFFSET_BITS=64 -m64 -O2 -Wall
.PHONY: all
all: $(OBJECTS)
.PHONY: clean
clean:
rm -f *.o
%.o: %.c
gcc -g -c $(CFLAGS) $<