added makefile and common include

This commit is contained in:
mrdudz
2014-11-22 16:59:31 +01:00
parent d712abfe27
commit a20cb09032
24 changed files with 48 additions and 3 deletions

View File

@@ -4,6 +4,8 @@
!!LICENCE!! GPL, read COPYING.GPL !!LICENCE!! GPL, read COPYING.GPL
*/ */
#include "common.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <limits.h> #include <limits.h>

View File

@@ -5,6 +5,8 @@
!!AUTHOR!! Johan Kotlinski !!AUTHOR!! Johan Kotlinski
*/ */
#include "common.h"
#include <assert.h> #include <assert.h>
struct { struct {

View File

@@ -4,6 +4,8 @@
!!LICENCE!! GPL, read COPYING.GPL !!LICENCE!! GPL, read COPYING.GPL
*/ */
#include "common.h"
#include <stdio.h> #include <stdio.h>
#include <limits.h> #include <limits.h>
@@ -291,19 +293,16 @@ void c_minus1(void)
printf("(long0 != -1)\n"); printf("(long0 != -1)\n");
if(long0 != -1) if(long0 != -1)
{ {
LOG_ERROR(1);
failures++; failures++;
} }
printf("(long0 > 0)\n"); printf("(long0 > 0)\n");
if(long0 > 0) if(long0 > 0)
{ {
LOG_ERROR(1);
failures++; failures++;
} }
printf("(long1 < 0)\n"); printf("(long1 < 0)\n");
if(long1 < 0) if(long1 < 0)
{ {
LOG_ERROR(1);
failures++; failures++;
} }
/* /*

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
#ifndef CQ26_INCLUDED #ifndef CQ26_INCLUDED
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
/*include "cq26.c"*/ /* hardware check */ /*include "cq26.c"*/ /* hardware check */
struct defs { struct defs {

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */

View File

@@ -4,6 +4,8 @@
!!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC
*/ */
#include "common.h"
struct defs { struct defs {
int cbits; /* No. of bits per char */ int cbits; /* No. of bits per char */
int ibits; /* int */ int ibits; /* int */