DOS SC2 colortab converter (to UQM)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2098 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2005-12-22 01:05:51 +00:00
parent 88912cf60b
commit 2001fe34ba
6 changed files with 599 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
########################################################################
# 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 = pal2uqm
# These flags are needed to get it to compile with libpngX.dll on CYGWIN
#CYGWINFLAGS =
CC = gcc
CFLAGS = -W -Wall -O0 # -g
LIBS = -L/usr/local/lib -lm
LDFLAGS=
BINS = $(TARGET) $(TARGET).exe
SRCS = pal2uqm.c
OBJS = pal2uqm.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