#
# This makefile will create OMF libraries from A.OUT-format libraries
# The libraries will only be created if the timestamp of OMF library
# is earlier than on the a.out library or the OMF library is missing.
#

SHELL=$(COMSPEC)
.SUFFIXES: .a .lib

$(basename $(SOURCE)).lib: $(basename $(SOURCE)).a
	echo emxomf -o $@ $<
	emxomf -o $@ $<

omf:
	@if exist *.a    for %a in (*.a)    do @$(MAKE) -s SOURCE=%a
