# Makefile for DOS Install program
# $Id: Makefile,v 1.9 1998/01/09 04:19:04 jhall Exp $

# This Makefile is intended for a UNIX system.


# macros:

CC=gcc
CFLAGS=-Wall -I../include
LINT=lint

#RM=rm -f


# targets:

all: install.exe

install.exe: $(OBJECTS)
	(cd src; $(MAKE) $@ "CC=$(CC)" "CFLAGS=$(CFLAGS)")

lint:
	(cd src; $(MAKE) $@ "LINT=$(LINT)" "CFLAGS=$(CFLAGS)")



# clean up:

clean:
	$(RM) *~ core

realclean: clean

distclean: realclean
	for dir in doc include src; do \
		(cd $$dir; $(MAKE) $@ "RM=$(RM)"); \
	done
