# 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.


#AMICOMPILE	 = true
HOSTCC		 = gcc
CC		 = m68k-linux-gcc -D__KERNEL__
AS		 = m68k-linux-as
CPP		 = $(CC) -E
LD		 = m68k-linux-ld
KERNELHDRS	 = /linux/include
INCFLAGS	 =
CFLAGS		 = -Wall $(INCFLAGS) -O2 -Wstrict-prototypes # -x c++
ASINCS		 = $(INCFLAGS) -O2
HOSTINCFLAGS	 = -nostdinc -I/gcc/include -idirafter $(KERNELHDRS) -Dlinux
HOSTFLAGS	 = -O2 -Wall $(HOSTINCFLAGS)
LDFLAGS 	 =
AR		 = m68k-linux-ar
RANLIB		 = m68k-linux-ranlib

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