Subversion Repositories Kolibri OS

Rev

Rev 1028 | 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. INCLUDES = -I ../../include
  8.  
  9. HFILES:=     ../../include/types.h      \
  10.              ../../include/syscall.h    \
  11.              ../../include/pci.h        \
  12.              geode.h                   
  13.  
  14. SRC_DEP:=    
  15. GEODE_SRC:=    amd_geode.h    
  16.  
  17. NAME:=   geode
  18. GEODE:=  geode.dll
  19.  
  20. all: $(GEODE)
  21.  
  22. $(GEODE): geode.obj $(SRC_DEP) $(HFILES) Makefile
  23.         wlink name $(GEODE) SYS nt_dll lib libdrv op offset=0 op nod op maxe=25 op el op STUB=stub.exe op START=_drvEntry @$(NAME).lk
  24.         kpack.exe geode.dll geode.drv
  25.  
  26. geode.obj : geode.c $(SRC_DEP) $(HFILES) Makefile
  27.         $(CC) $(INCLUDES) $(CFLAGS) -o geode.obj geode.c
  28.  
  29.  
  30.  
  31.