# Makefile for Amiga Linux tools source directory
#
# 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.

# Include the make variables (CC, etc...)
#
include ../MakeVars

makeinit: makeinit.c
	$(HOSTCC) $(HOSTFLAGS) -o $@ $<

filetodata: filetodata.c
	$(HOSTCC) $(HOSTFLAGS) -o $@ $<

ftran: ftran.c
	$(HOSTCC) -o $@ $<

ftran.linux: ftran.c
	$(CC) -nostdlib $(CFLAGS) -o $@ ../init/crt0.o ftran.c ../lib/lib.a

clean:
	$(RM) makeinit filetodata ftran ftran.linux
