move to default.inc - now u dont need to #include <float> anymore

compiler deletes .asm's again...


SVN revision: 9473
This commit is contained in:
Carsten Haitzler 2004-03-25 09:44:55 +00:00
parent 552e101418
commit 12841180fd
5 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,3 @@
#include <float>
#include "example.inc" #include "example.inc"
/* To compile: /* To compile:

View File

@ -1,4 +1,3 @@
#include <float>
#include "test.inc" #include "test.inc"
/* This is ugly - please ignore this code! */ /* This is ugly - please ignore this code! */

View File

@ -1,5 +1,5 @@
filesdir = $(datadir)/embryo/include filesdir = $(datadir)/embryo/include
files_DATA = \ files_DATA = \
float.inc default.inc
EXTRA_DIST = $(files_DATA) EXTRA_DIST = $(files_DATA)

View File

@ -6,13 +6,14 @@
* operators for the floating point functions. * operators for the floating point functions.
* Modified March 2004 by Carsten Haitzler <raster@rasterman.com> to conform * Modified March 2004 by Carsten Haitzler <raster@rasterman.com> to conform
* to E coding style * to E coding style
* Became default include for embryo...
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */
#if defined FLOAT_INC #if defined DEFAULT_INC
#endinput #endinput
#endif #endif
#define FLOAT_INC #define DEFAULT_INC
#pragma rational Float #pragma rational Float

View File

@ -458,8 +458,7 @@ cleanup:
assemble(binf,outf); /* assembler file is now input */ assemble(binf,outf); /* assembler file is now input */
} /* if */ } /* if */
if (outf!=NULL) if (outf!=NULL)
// sc_closeasm(outf,!(sc_asmfile || sc_listing)); sc_closeasm(outf,!(sc_asmfile || sc_listing));
sc_closeasm(outf, 0);
if (binf!=NULL) if (binf!=NULL)
sc_closebin(binf,errnum!=0); sc_closebin(binf,errnum!=0);