Mercurial > mplayer.hg
diff drivers/radeon/Makefile @ 1921:3733b1430c60
building improvements
author | nick |
---|---|
date | Wed, 19 Sep 2001 16:52:13 +0000 |
parents | |
children | d323a65c8f6b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/drivers/radeon/Makefile Wed Sep 19 16:52:13 2001 +0000 @@ -0,0 +1,31 @@ +KERNEL_INCLUDES = /usr/src/linux/include +INCLUDES = -I$(KERNEL_INCLUDES) + +# +# standard CFLAGS +# + +CPPFLAGS := -D__KERNEL__ -I$(KERNEL_INCLUDES) + +CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \ + -fomit-frame-pointer -fno-strict-aliasing -fno-common\ + -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h +AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS) + + +all: radeonfb.o + +radeonfb.o: radeonfb.c radeon.h + $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c + +dep: + +clean: + rm -f *.o *~ + +distclean: clean + rm -f mga_vid_test + +install: + @echo Please copy *.o files to '/lib/modules/LINUX_VER/kernel/drivers/video' folder +