mirror of
https://github.com/ctm/syn68k.git
synced 2024-06-01 06:41:27 +00:00
Move config.h to includes/, include it in syn86k_public.h
This commit is contained in:
parent
7a41a745a7
commit
d629112ec3
|
@ -4,7 +4,7 @@ AC_INIT(syn68k, 1.0, ctm@ardi.com)
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR([syngen/main.c])
|
AC_CONFIG_SRCDIR([syngen/main.c])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([include/config.h])
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
/* $Id: syn68k_public.h 83 2005-05-12 02:33:41Z ctm $ */
|
/* $Id: syn68k_public.h 83 2005-05-12 02:33:41Z ctm $ */
|
||||||
|
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define this for CPUs that require n byte data be aligned
|
/* Define this for CPUs that require n byte data be aligned
|
||||||
* on addresses congruent to zero modulo n. The name "QUADALIGN"
|
* on addresses congruent to zero modulo n. The name "QUADALIGN"
|
||||||
|
|
|
@ -16,7 +16,7 @@ LOCAL_CFLAGS = -DRUNTIME -Iinclude
|
||||||
all: libsyn68k.a
|
all: libsyn68k.a
|
||||||
|
|
||||||
%.o:%.c
|
%.o:%.c
|
||||||
$(CC) $(CFLAGS) -c $(LOCAL_INCLUDES) $< -o $@
|
$(CC) $(DEFS) $(CFLAGS) -c $(LOCAL_INCLUDES) $< -o $@
|
||||||
|
|
||||||
OBJS = block.o diagnostics.o hash.o rangetree.o translate.o alloc.o \
|
OBJS = block.o diagnostics.o hash.o rangetree.o translate.o alloc.o \
|
||||||
blockinfo.o trap.o destroyblock.o callback.o init.o interrupt.o \
|
blockinfo.o trap.o destroyblock.o callback.o init.o interrupt.o \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user