Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1.  
  2. CC = gcc
  3. FASM = e:/fasm/fasm.exe
  4. CFLAGS = -c -O2 -fomit-frame-pointer -fno-builtin-printf
  5. LDRHD  = -shared -T ld.x -s --file-alignment 32
  6.  
  7. INCLUDES = -I ../../include
  8.  
  9. HFILES:=     ../../include/types.h      \
  10.              ../../include/syscall.h    \
  11.              agp.h
  12.  
  13. SRC_DEP:=    pci.inc            \
  14.              detect.inc         \
  15.              isoch.inc
  16.  
  17. AGP_SRC:=    agp.c    
  18.  
  19.  
  20. AGP =  agp.dll
  21.  
  22. all: $(AGP)
  23.  
  24. $(AGP): agp.obj $(SRC_DEP) $(HFILES) Makefile
  25.         wlink name agp.dll SYS nt_dll lib libdrv op offset=0 op nod op maxe=25 op el op STUB=stub.exe op START=_drvEntry @agp.lk
  26.         kpack.exe agp.dll agp.drv
  27.  
  28. agp.obj : agp.c $(SRC_DEP) $(HFILES) Makefile
  29.         $(CC) $(INCLUDES) $(CFLAGS) -o agp.obj agp.c
  30.  
  31.  
  32.  
  33.