#
# This is the Makefile for the ipxutils-subdirectory of the DOS-emulator
# for Linux.
#

# let gcc do extended checking

CFILES = ipx_configure.c ipx_internal_net.c ipx_interface.c ipx_route.c
BINS   = ipx_configure   ipx_internal_net   ipx_interface ipx_route
HFILES = 

# Insert all source- and header-files here.

ALL = $(CFILES) $(HFILES) startipx README

# All object-files are included here.

all: $(BINS)

$(BINS): $(CFILES)
	$(CC) -o $@ $@.c 

checkin:
	-ci -l $(ALL) Makefile

checkout:
	-co -M -l $(ALL) Makefile

clean:
	rm -f *~ *bak *.o ipx_configure ipx_internal_net ipx_interface ipx_route

realclean: clean
	rm -f .depend 

install: $(BINS)
	install $(BINS) /sbin

depend:
	makedepend -I/usr/include/linux *.c

release:
	mkdir ../release/util
	ln *.c makefile README ../release/util

undepend:
	makedepend

# DO NOT DELETE
