bin_PROGRAMS = asmsh child noinst_LIBRARIES = libcheck_asmsh.a libcheck_asmsh_a_SOURCES = mmap_parse.c compile.c logger.c asmsh_SOURCES = asmsh.c $(libasmsh_a_SOURCES) child_SOURCES = child.s SUBDIRS = if CHECK SUBDIRS += tests endif child$(EXEEXT): $(child_SOURCES:.s=.o) ld $(child_LDFLAGS) -o $@ $<