mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00

Here comes the first part of a GIF decoder. It decodes up to the point of gathering all the LZW-compressed data. The next step is to implement decompression, and then turn the decompressed data into a bitmap using the color maps, etc.
31 lines
520 B
Makefile
31 lines
520 B
Makefile
include ../../Makefile.common
|
|
|
|
OBJS = \
|
|
CharacterBitmap.o \
|
|
Color.o \
|
|
DisjointRectSet.o \
|
|
Font.o \
|
|
GraphicsBitmap.o \
|
|
Painter.o \
|
|
PNGLoader.o \
|
|
GIFLoader.o \
|
|
ImageDecoder.o \
|
|
Rect.o \
|
|
StylePainter.o \
|
|
Emoji.o
|
|
|
|
LIBRARY = libdraw.a
|
|
DEFINES += -DUSERLAND
|
|
|
|
all: $(LIBRARY)
|
|
|
|
$(LIBRARY): $(OBJS)
|
|
@echo "LIB $@"; $(AR) rcs $@ $(OBJS) $(LIBS)
|
|
|
|
.cpp.o:
|
|
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
-include $(OBJS:%.o=%.d)
|
|
|
|
clean:
|
|
@echo "CLEAN"; rm -f $(LIBRARY) $(OBJS) *.d
|