#
# 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
.PHONY: all

AOUT.LIBS=$(wildcard *.a st/*.a mt/*.a)
OMF.LIBS=$(AOUT.LIBS:.a=.lib)

%.lib: %.a
	emxomf -w -o $@ $<

all: $(OMF.LIBS)
