# MakeVars for 680x0 Linux
#
# Copyright 1993 by Hamish Macdonald
#
# This file is subject to the terms and conditions of the GNU General Public
# License.  See the file "README.legal" in the main directory of this archive
# for more details.

CROSSDIR = /usr/lib/gcc-lib/m68k-linux/2.5.8

#AMICOMPILE	 = true
HOSTCC		 = d:\gnu\bin\gcc
CC		 = gcc -bm68k-linux -D__KERNEL__
AS		 = $(CROSSDIR)/as
CPP		 = $(CC) $(INCFLAGS) -E
LD		 = $(CROSSDIR)/ld
KERNELHDRS	 = $(HOME)/src/linux.atari/include
INCFLAGS	 = -I$(KERNELHDRS)
CFLAGS		 = -Wall $(INCFLAGS) -O2 -fomit-frame-pointer -m68030 \
			   -Wstrict-prototypes # -x c++
ASINCS		 = $(INCFLAGS) -O2
HOSTINCFLAGS	 = -I $(KERNELHDRS) -Dlinux
HOSTFLAGS	 = -O2 -Wall $(HOSTINCFLAGS)
LDFLAGS 	 =
AR		 = $(CROSSDIR)/ar
RANLIB		 = 

.c.o:
	$(CC) $(CFLAGS) -c -o $*.o $<
.S.o:
	$(CC) $(ASINCS) -c -o $*.o $<
