Subversion Repositories Kolibri OS

Rev

Rev 953 | 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.              pci.h                      \
  13.  
  14. SRC_DEP:=    pci.inc            \
  15.              detect.inc         \
  16.              isoch.inc
  17.  
  18. AGP_SRC:=    agp.c    
  19.  
  20.  
  21. AGP =  agp.dll
  22.  
  23. all: $(AGP)
  24.  
  25. $(AGP): agp.obj $(SRC_DEP) $(HFILES) Makefile
  26.         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
  27.         kpack.exe agp.dll agp.drv
  28.  
  29. agp.obj : agp.c $(SRC_DEP) $(HFILES) Makefile
  30.         $(CC) $(INCLUDES) $(CFLAGS) -o agp.obj agp.c
  31.  
  32.  
  33.  
  34.