#
# Choose-OS installer Makefile
#
# Copyright (c) Tuomo Valkonen 1996-1998.
#

OBJS=	main.o image.o install.o map.o bg.o image-linux.o image-bsect.o bin.o \
	device.o

TARGET= $(DEST_DIR)/chos

all:	$(TARGET)

$(TARGET): $(OBJS)
	@$(SEPARATOR)
	$(CC) $(OBJS) -o $(TARGET)

.c.o:
	@$(SEPARATOR)
	$(CC) -c $< -o $*.o

clean:
	rm -f *.o .depend

depend:
	$(MAKE_DEPEND) *.c > $(DEPEND)
	
ifeq ($(DEPEND),$(wildcard $(DEPEND)))
include $(DEPEND)
endif
