--- generator/cpu68k/Makefile.am 2020/03/04 04:46:43 1.1.1.1 +++ generator/cpu68k/Makefile.am 2020/03/04 04:47:04 1.1.1.2 @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -noinst_PROGRAMS = def68k headers gen68k +noinst_PROGRAMS = def68k head gen68k BUILT_SOURCES = def68k-iibs.h def68k-funcs.h def68k-proto.h \ cpu68k-0.c cpu68k-1.c cpu68k-2.c cpu68k-3.c \ cpu68k-4.c cpu68k-5.c cpu68k-6.c cpu68k-7.c \ @@ -12,8 +12,11 @@ BUILT_SOURCES = def68k-iibs.h def68k-fun def68k_SOURCES = def68k.c tab68k.c INCLUDES = -I../hdr -I. -headers_SOURCES = def68k-iibs.h def68k-funcs.h def68k-proto.h -headers: def68k-iibs.h def68k-funcs.h def68k-proto.h +head_SOURCES = def68k-iibs.h def68k-funcs.h def68k-proto.h + +## see automake.info section on 'Support for executable extensions' + +head$(EXEEXT): def68k-iibs.h def68k-funcs.h def68k-proto.h def68k-iibs.h: def68k def68k.def ./def68k @@ -34,7 +37,7 @@ lib68k_a_SOURCES = cpu68k-0.c cpu68k-1.c cpu68k-c.c cpu68k-d.c cpu68k-e.c cpu68k-f.c lib68k_a_DEPENDENCIES = def68k-iibs.h -DISTCLEANFILES = ${lib68k_a_SOURCES} ${headers_SOURCES} +MOSTLYCLEANFILES = ${lib68k_a_SOURCES} ${head_SOURCES} cpu68k-0.c: gen68k ./gen68k