home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: Alpha / Whiteline Alpha.iso / linux / atari / source / source.lzh / atari-linux-0.01pl3 / MakeVars < prev    next >
Encoding:
Text File  |  1994-06-14  |  878 b   |  32 lines

  1. # MakeVars for 680x0 Linux
  2. #
  3. # Copyright 1993 by Hamish Macdonald
  4. #
  5. # This file is subject to the terms and conditions of the GNU General Public
  6. # License.  See the file "README.legal" in the main directory of this archive
  7. # for more details.
  8.  
  9. CROSSDIR = /usr/lib/gcc-lib/m68k-linux/2.5.8
  10.  
  11. #AMICOMPILE     = true
  12. HOSTCC         = d:\gnu\bin\gcc
  13. CC         = gcc -bm68k-linux -D__KERNEL__
  14. AS         = $(CROSSDIR)/as
  15. CPP         = $(CC) $(INCFLAGS) -E
  16. LD         = $(CROSSDIR)/ld
  17. KERNELHDRS     = $(HOME)/src/linux.atari/include
  18. INCFLAGS     = -I$(KERNELHDRS)
  19. CFLAGS         = -Wall $(INCFLAGS) -O2 -fomit-frame-pointer -m68030 \
  20.                -Wstrict-prototypes # -x c++
  21. ASINCS         = $(INCFLAGS) -O2
  22. HOSTINCFLAGS     = -I $(KERNELHDRS) -Dlinux
  23. HOSTFLAGS     = -O2 -Wall $(HOSTINCFLAGS)
  24. LDFLAGS      =
  25. AR         = $(CROSSDIR)/ar
  26. RANLIB         = 
  27.  
  28. .c.o:
  29.     $(CC) $(CFLAGS) -c -o $*.o $<
  30. .S.o:
  31.     $(CC) $(ASINCS) -c -o $*.o $<
  32.