Colormap conversion tool; from 3DO 32x15bitx8 to 256x24bit

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1511 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2005-02-03 07:57:47 +00:00
parent 5eadd60631
commit d47a32435d
6 changed files with 670 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
########################################################################
# 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 = ctconv
# These flags are needed to get it to compile with libpngX.dll on CYGWIN
# CYGWINFLAGS = -DPNG_USE_DLL
CYGWINFLAGS =
CC = gcc
CFLAGS = -W -Wall -O0 # -g
LIBS = -L/usr/local/lib -lm
LDFLAGS=
BINS = $(TARGET) $(TARGET).exe
SRCS = ctconv.c
OBJS = ctconv.o
.SUFFIXES: .c .o
.c.o:
$(CC) -c $(CFLAGS) -o $@ $*.c $(CYGWINFLAGS)
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) -o $(TARGET) $(OBJS) $(LIBS) $(LDFLAGS)
clean:
rm -f $(BINS) *.o