mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
lib: move includes to include/lib/
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef LIBRARY_H
|
||||
#define LIBRARY_H
|
||||
#ifndef ASMOTOR_LIB_LIBRARY_H
|
||||
#define ASMOTOR_LIB_LIBRARY_H
|
||||
|
||||
#include "libwrap.h"
|
||||
#include "lib/libwrap.h"
|
||||
|
||||
extern sLibrary *lib_Read(char *filename);
|
||||
extern BBOOL lib_Write(sLibrary * lib, char *filename);
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef LIBWRAP_H
|
||||
#define LIBWRAP_H
|
||||
#ifndef ASMOTOR_LIB_LIBWRAP_H
|
||||
#define ASMOTOR_LIB_LIBWRAP_H
|
||||
|
||||
#include "types.h"
|
||||
#include "lib/types.h"
|
||||
|
||||
#define MAXNAMELENGTH 256
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef TYPES_H
|
||||
#define TYPES_H 1
|
||||
#ifndef ASMOTOR_LIB_TYPES_H
|
||||
#define ASMOTOR_LIB_TYPES_H
|
||||
|
||||
#if defined(AMIGA) || defined(__GNUC__)
|
||||
#define _MAX_PATH 512
|
||||
@@ -9,4 +9,4 @@ xlib: $(obj)
|
||||
gcc -Wall -o $@ $^
|
||||
|
||||
.c.o:
|
||||
gcc -Wall -I. -I.. -Iinclude -g -c -o $@ $<
|
||||
gcc -Wall -I. -I.. -I../../include -g -c -o $@ $<
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "types.h"
|
||||
#include "libwrap.h"
|
||||
|
||||
#include "lib/types.h"
|
||||
#include "lib/libwrap.h"
|
||||
|
||||
extern void fatalerror(char *s);
|
||||
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
#include <ctype.h>
|
||||
|
||||
#include "asmotor.h"
|
||||
#include "types.h"
|
||||
#include "library.h"
|
||||
|
||||
#include "lib/types.h"
|
||||
#include "lib/library.h"
|
||||
|
||||
// Quick and dirty...but it works
|
||||
#ifdef __GNUC__
|
||||
|
||||
Reference in New Issue
Block a user