# Makefile for AMD Geode OSS audio driver
#
# Builds OSS driver as a module by wrapping the standard Linux Makefile
# as appropriate. Make targets that should be done in context of the
# standard kernel makefile are reinvoked using the kernel makefile.
#

O_TARGET := geodeoss.o

obj-y := gxlnxaud.o duraudio.o os_inc.o
obj-m := $(O_TARGET)

ifdef DEBUG
    EXTRA_CFLAGS += -DOSS_DEBUG
endif

include $(TOPDIR)/Rules.make

clean:
	rm -f core *.o *.a *.s
