top_builddir=../../..
include $(top_builddir)/Makefile.conf

# This is the Makefile for the debugger-subdirectory of DOSEMU.
# Please send comments and bug-reports to Max Parke <mhp@light.lightlink.com>
# Please read the code in this directory for more information.


#The C files, include files and dependancies here.
CFILES = mhpdbg.c mhpdbgc.c dis8086.c dosdebug.c
DEPENDS =  mhpdbg.d mhpdbgc.d dis8086.d dosdebug.d
HFILES =

# Insert all source- and header-files here.
ALL = $(CFILES) $(HFILES) README.dosdebug README.recover Changelog

# All object-files are included here.
OBJS =  mhpdbg.o mhpdbgc.o dis8086.o

all: lib $(BINPATH)/bin/dosdebug

dosdebug: dosdebug.c
	$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(ALL_CPPFLAGS) $< -o $@
$(BINPATH)/bin/dosdebug: dosdebug
	cp $< $@

install:

clean::
	rm -f dosdebug

include $(REALTOPDIR)/src/Makefile.common
