Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I needed to check Imager builds against giflib for a recent bug report, so I created Makefiles to build giflib with both MSVC and Mingw/gcc

    First for MSVC:

    OBJS = dev2gif.obj egif_lib.obj dgif_lib.obj gifalloc.obj gif_font.obj gif_hash.obj \
        gif_err.obj quantize.obj qprintf.obj getarg.obj


    libgif.lib: $(OBJS)
        link /lib /out:libgif.lib $(OBJS)

    and for mingw:

    CC = gcc
    AR = ar

    OBJS = dev2gif.o egif_lib.o dgif_lib.o gifalloc.o gif_font.o gif_hash.o \
        gif_err.o quantize.o qprintf.o getarg.o


        $(CC) -c $(CFLAGS) $*.c

    libgif.a : $(OBJS)
        $(AR) r $@ $(OBJS)

    These don't install, and they just build the libraries - none of the supporting programs are built