initial commit of avs2bdnxml 2.08.

This commit is contained in:
Koroban
2013-07-23 12:04:20 +02:00
commit 879b32e9e0
34 changed files with 13106 additions and 0 deletions

26
Makefile Normal file
View File

@@ -0,0 +1,26 @@
CC=i586-mingw32msvc-gcc
CFLAGS=-O3 -Iinc/ -Wall -DLE_ARCH
LDFLAGS=-lpng -lz -lvfw32 -Llib/ -liberty
OBJS=avs2bdnxml.o auto_split.o palletize.o sup.o sort.o
ASMOBJS=frame-a.o
EXE=avs2bdnxml.exe
%.o: %.c %.h Makefile
$(CC) -c $< $(CFLAGS)
$(EXE): $(OBJS) $(ASMOBJS)
$(CC) -o $(EXE) $(OBJS) $(ASMOBJS) $(LDFLAGS)
all: $(EXE)
$(ASMOBJS): $(ASMOBJS:%.o=%.asm)
yasm -f win32 -m x86 -DARCH_X86_64=0 -DPREFIX=1 $< -o $(<:%.asm=%.o)
dist: clean all
strip -s $(EXE)
upx-ucl --best $(EXE)
rm -f $(OBJS) $(ASMOBJS)
.phony clean:
rm -f $(EXE) $(OBJS) $(ASMOBJS)