+++ /dev/null
-/*
- * Acess2 DMA Driver
- */
-#ifndef _DMA_H_
-#define _DMA_H_
-
-extern void DMA_SetChannel(int channel, int length, int read);
-extern int DMA_ReadData(int channel, int count, void *buffer);
-extern int DMA_WriteData(int channel, int count, void *buffer);
-
-#endif
-include $(dir $(lastword $(MAKEFILE_LIST)))../Makefile.cfg
-LIBINCLUDES := $(addprefix -I$(ACESSDIR)/Modules/Libraries/,$(LIBS))
+LIBINCLUDES := $(addprefix -I$(ACESSDIR)/Modules/,$(DEPS))
LIBINCLUDES := $(addsuffix /include,$(LIBINCLUDES))
CPPFLAGS := -I$(ACESSDIR)/Kernel/include -I$(ACESSDIR)/Kernel/arch/$(ARCHDIR)/include
#
#
+DEPS = x86/ISADMA
OBJ = main.o fdc.o
NAME = FDDv2
--- /dev/null
+/*
+ * Acess2 DMA Driver
+ */
+#ifndef _DMA_H_
+#define _DMA_H_
+
+extern void DMA_SetChannel(int channel, int length, int read);
+extern int DMA_ReadData(int channel, int count, void *buffer);
+extern int DMA_WriteData(int channel, int count, void *buffer);
+
+#endif