Listing 1. Driver Compile Instructions
  
/*
 * Local variables:
 *  SMP-compile-command: "gcc -D__SMP__ -DMODULE\
 -D__KERNEL__ -I/usr/src/linux/net/inet -Wall\
 -Wstrict-prototypes i-O6 -c tulip.c '[ -f\
 /usr/include/linux/modversions.h ] && echo\ -DMODVERSIONS'"
 *  compile-command: "gcc -DMODULE -D__KERNEL__\
 -I/usr/src/linux/net/inet -Wall\
 -Wstrict-prototypes -O6 -c tulip.c '[ -f\
 /usr/include/linux/modversions.h ] && echo\ -DMODVERSIONS'"
 *  cardbus-compile-command: "gcc -DCARDBUS\
 -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes\
 -O6 -c tulip.c -o tulip_cb.o\
 -I/usr/src/pcmcia-cs-3.0.5/include/"
 *  c-indent-level: 4
 *  c-basic-offset: 4
 *  tab-width: 4
 * End:
 */
  
  
  
  
  
  
  
  
  
    Copyright © 1994 - 2014 Linux Journal.  All rights reserved.