Subversion Repositories Kolibri OS

Rev

Rev 951 | Go to most recent revision | 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. HFILES:=     agp.h              \
  8.              syscall.h          \
  9.              pci.h              \
  10.  
  11. SRC_DEP:=    pci.inc            \
  12.              detect.inc         \
  13.              isoch.inc
  14.  
  15. AGP_SRC:=    agp.c    
  16.  
  17.  
  18. AGP =  agp.dll
  19.  
  20. all: $(AGP)
  21.  
  22. $(AGP): agp.obj $(SRC_DEP) $(HFILES) Makefile
  23.         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
  24.         kpack.exe agp.dll agp.drv
  25.  
  26. agp.obj : agp.c $(SRC_DEP) $(HFILES) Makefile
  27.         $(CC) $(CFLAGS) -o agp.obj agp.c
  28.  
  29.  
  30.  
  31.