# Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details
TOP = .

include $(TOP)/../makefile.inc

#for faster loading
EXECOMPRESS += -s

all :: stubify editd32
	copy /b stubify.exe $(subst /,\,$(BIN)/stubify.exe)
	copy /b editd32.exe $(subst /,\,$(BIN)/editd32.exe)
	del stubify.exe
	del editd32.exe
	del stubify
	del editd32

stubify: stubify.o
	$(LINK) $(C) $(L) -s
	$(EXE)

CFLAGS += -Wno-cast-qual -Wno-write-strings
editd32: editd32.o
	$(LINK) $(C) $(L) -s
	$(EXE)
