[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 392 - (download) (annotate)
Wed Sep 4 18:44:41 2002 UTC (21 years, 7 months ago)
File size: 1115 byte(s)
This commit was manufactured by cvs2svn to create branch 'dev-api-3'.
#/**************************************************************************
# *
# * djgpp makefile
# *
# * treat "deltree /y" with care
# *
# *************************************************************************/


include Makefile.inc


CC = gcc
CFLAGS = -Wall -DARCH_X86
# CFLAGS += -funroll-loops -ffast-math -fstrict-aliasing -fomit-frame-pointer
# CFLAGS += -fPIC
# CFLAGS += -m486
# CFLAGS += -march=pentium -mcpu=pentium
# CFLAGS += -march=pentiumpro -mcpu=pentiumpro


AS = nasm
AFLAGS = -f coff -DPREFIX -DFORMAT_COFF
%.o: %.asm
	$(AS) $(AFLAGS) $< -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