[svn] / trunk / xvidcore / build / generic / Makefile.dj Repository:
ViewVC logotype

View of /trunk/xvidcore/build/generic/Makefile.dj

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (download) (annotate)
Fri Mar 8 02:46:11 2002 UTC (17 years, 7 months ago) by Isibaar
File size: 955 byte(s)
moved sources
#/**************************************************************************
# *
# * 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
%.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)/common/*.o
	$(RM) $(SRCDIR)/decoder/*.o
	$(RM) $(SRCDIR)/encoder/*.o
	$(RM) $(SRCDIR)/image/*.o
	$(RM) $(SRCDIR)/common/intel_mmx/*.o
	$(RM) $(SRCDIR)/decoder/intel_mmx/*.o
	$(RM) $(SRCDIR)/encoder/intel_mmx/*.o
	$(RM) $(SRCDIR)/image/intel_mmx/*.o
	$(RM) $(LIB)

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