X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=267c498e382c6135d39dc223f76e3aff85787ac1;hb=121bcb38f29409f10de63a68d86620c4beb75c97;hp=2d0df82e9cd16691ae0918ab1cc430dca866c2e3;hpb=1eb382f72510d50b3636fb88c4bfaf17183672b6;p=emu8051.git diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 2d0df82..267c498 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -1,13 +1,14 @@ # This file is processed by GNU automake to generate Makefile.in AM_CPPFLAGS = \ - -Wall \ + $(WARNINGCFLAGS) \ -I$(top_srcdir) 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 \ @@ -15,13 +16,15 @@ libemu8051_a_SOURCES = \ memory.c memory.h \ psw.c psw.h \ sfr.c sfr.h \ + operations.c operations.h \ timers.c timers.h \ common.h \ 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 = *~ @@ -29,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