X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;fp=src%2Fcommon%2FMakefile.am;h=267c498e382c6135d39dc223f76e3aff85787ac1;hb=fbbb71d6d8aa93bccc87b17408a89432e4b8161c;hp=aa19efe92a74c12c2d9f1338060c83f6da3e9693;hpb=7abd6d07eabfc12653ba3cb40823f7b3e2ad464e;p=emu8051.git diff --git a/src/common/Makefile.am b/src/common/Makefile.am index aa19efe..267c498 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -7,7 +7,8 @@ AM_CPPFLAGS = \ noinst_LIBRARIES = libemu8051.a libemu8051_a_SOURCES = \ - instructions_8051.c \ + instructions_8051.c instructions_8051.h \ + opcodes.c opcodes.h \ options.c options.h \ log.c log.h \ hexfile.c hexfile.h \ @@ -21,8 +22,9 @@ libemu8051_a_SOURCES = \ reg8051.h # These files are generated automatically by a perl script. -instructions_8051.c instructions_8051.h disasm.h : opcode2c.pl opcodes.lst - ./opcode2c.pl +instructions_8051.c instructions_8051.h opcodes.h opcodes.c : opcodes2c.pl opcodes.lst + @echo " PERL opcodes2c.pl" + @./opcodes2c.pl CLEANFILES = *~ @@ -30,10 +32,9 @@ MAINTAINERCLEANFILES = \ Makefile.in \ instructions_8051.c \ instructions_8051.h \ - disasm.h + opcodes.h \ + opcodes.c EXTRA_DIST = \ - opcode2c.pl \ - opcodes.lst \ - instructions_8051.h \ - disasm.h + opcodes2c.pl \ + opcodes.lst