######################################################################
# User Makefile sample for the Source Navigator / Introl Compiler Env.
#
# KoaLib115 Package
#
# Copyright (C) 2000 K-TEAM S.A.
#
######################################################################

# Packages needed by the compiler (must be on the network)
# (DO NOT forget the / at the end).
prefix = /home/kros/kros-i686-pc-linux-gnu21/
sft_pack = /home/kros/kteam/
hdw_pack = /home/kros/koapack115/

# Hardware Debug Settings
port	= COM1
speed	= 19200

# Hierachical structure for separating source/object/binary
# (DO NOT forget the / at the end).
srcdir	= ./
asmdir = ./
includedir = ./
objdir = ./
libdir = ./
bindir = ./

# Include the master makefile
# (PLEASE do not modify)
include $(sft_pack)etc/Makefile

OBJ = $(addsuffix .o,$(basename $(shell ls -I *.c *.s *.S *.cc 2>null)))
INC = $(addsuffix .o,$(basename $(shell ls -I *.h 2>null)))
EXE = $(addsuffix .s37,$(basename $(shell grep -wl main *.c *.s *.S *.cc 2>null)))
 
all: $(EXE)
	@echo Compilation done
	@rm null

$(EXE): $(OBJ)

clean:
	@echo Cleaning...
	@rm $(EXE)

