[svn] / branches / dev-api-3 / xvidcore / build / generic / Makefile.dj Repository:
ViewVC logotype

View of /branches/dev-api-3/xvidcore/build/generic/Makefile.dj

Parent Directory Parent Directory | Revision Log Revision Log


Revision 717 - (download) (annotate)
Sat Dec 14 08:14:37 2002 UTC (21 years, 4 months ago) by suxen_drol
File size: 1953 byte(s)
#define bframes cleanup
#/**************************************************************************
# *
# * DJGPP/MinGW makefile
# *
# * treat "deltree /y" with care
# *
# *
# * $Id: Makefile.dj,v 1.2.2.2 2002-12-14 08:14:37 suxen_drol Exp $
# *
# *************************************************************************/


include Makefile.inc


CC = gcc
CFLAGS = -Wall -DARCH_X86

# CFLAGS += -funroll-loops -ffast-math -fstrict-aliasing -fomit-frame-pointer
# CFLAGS += -fPIC

# Architecture options : Valid for every gcc version
# Uncomment the one which you want to compile for

# CFLAGS += -march=i386 -mcpu=i386
# CFLAGS += -march=i486 -mcpu=i486
# CFLAGS += -march=i586 -mcpu=i586
# CFLAGS += -march=i686 -mcpu=i686
# CFLAGS += -march=pentium -mcpu=pentium
# CFLAGS += -march=pentiumpro -mcpu=pentiumpro

# Architecture options : Valid for every gcc >= 3.1
# Uncomment the one which you want to compile for

# CFLAGS += -march=pentium-mmx -mcpu=pentium-mmx
# CFLAGS += -march=pentium3 -mcpu=pentium3
# CFLAGS += -march=pentium4 -mcpu=pentium4
# CFLAGS += -march=athlon -mcpu=athlon
# CFLAGS += -march=k6 -mcpu=k6
# CFLAGS += -march=k6-2 -mcpu=k6-2
# CFLAGS += -march=k6-3 -mcpu=k6-3
# CFLAGS += -march=athlon-tbird -mcpu=athlon-tbird
# CFLAGS += -march=athlon-xp -mcpu=athlon-xp
# CFLAGS += -march=athlon-mp -mcpu=athlon-mp


AS = nasm
AFLAGS = -f coff -DPREFIX -DFORMAT_COFF
%.o: %.asm
	$(AS) $(AFLAGS) -I$(<D) $< -o $@


RM = deltree /y


all: $(LIB)


$(LIB): $(SRC:.c=.o) $(SRC_INTEL:.asm=.o)
	ar rcs $@ $^


clean:
	$(RM) $(SRCDIR)/*.o
	$(RM) $(SRCDIR)/bitstream/*.o
	$(RM) $(SRCDIR)/dct/*.o
	$(RM) $(SRCDIR)/image/*.o
	$(RM) $(SRCDIR)/motion/*.o
	$(RM) $(SRCDIR)/prediction/*.o
	$(RM) $(SRCDIR)/quant/*.o
	$(RM) $(SRCDIR)/utils/*.o
	$(RM) $(SRCDIR)/bitstream/x86_asm/*.o
	$(RM) $(SRCDIR)/dct/x86_asm/*.o
	$(RM) $(SRCDIR)/image/x86_asm/*.o
	$(RM) $(SRCDIR)/motion/x86_asm/*.o
	$(RM) $(SRCDIR)/quant/x86_asm/*.o
	$(RM) $(SRCDIR)/utils/x86_asm/*.o
	$(RM) $(LIB)



No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4