Tool used to convert DOS LPF files to UQM .ani + presentations

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1477 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2005-01-21 18:42:28 +00:00
parent 7e80ee001d
commit c92033fe37
6 changed files with 1674 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
########################################################################
# This is a GNU makefile - tested on CYGWIN and Linux
#
# You may need to compile or install libpng and/or zlib before
# compiling this.
#
TARGET = lpf2ani
# These flags are needed to get it to compile with libpngX.dll on CYGWIN
# CYGWINFLAGS = -DPNG_USE_DLL
CYGWINFLAGS =
PNGFLAGS = -I.
CC = gcc
CFLAGS = -W -Wall -O0 # -g
LIBS = -L/usr/local/lib -lpng -lm -lz
LDFLAGS=
BINS = $(TARGET) $(TARGET).exe
SRCS = lpf2ani.c
OBJS = lpf2ani.o
.SUFFIXES: .c .o
.c.o:
$(CC) -c $(CFLAGS) -o $@ $*.c $(PNGFLAGS) $(CYGWINFLAGS)
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) -o $(TARGET) $(OBJS) $(LIBS) $(LDFLAGS)
clean:
rm -f $(BINS) *.o