# Makefile for DOS Install program
# $Id: Makefile,v 1.6 1997/11/15 21:22:15 jhall Exp $

# This Makefile is intended for a UNIX system.
# Use Makefile.dos to build on a DOS system.


# macros:

CC=gcc
CFLAGS=-Wall
LINT=lint
RM=rm -f


# files:

SOURCES=main.c  cindex.c dat.c diskname.c file_io.c getkey.c inst.c pause.c showdesc.c
OBJECTS=$(SOURCES:.c=.o)


# targets:

all: install.exe

lint:
	$(LINT) $(CFLAGS) $(SOURCES)

install.exe: $(OBJECTS)
	$(CC) $(CFLAGS) -o $@ $(OBJECTS)



# clean up:

clean:
	$(RM) *~ core

realclean: clean
	$(RM) $(OBJECTS)

distclean: realclean
	$(RM) *.exe
