Consolidate internal and external libmittos headers
This commit is contained in:
parent
e5556e16a7
commit
bb80297c1e
@ -31,7 +31,7 @@ $(OBJ): CPPFLAGS += $(DEPFLAGS)
|
|||||||
# Installation
|
# Installation
|
||||||
DESTDIR ?= $(BUILDROOT)/sysroot
|
DESTDIR ?= $(BUILDROOT)/sysroot
|
||||||
LIBDIR := $(DESTDIR)/usr/lib
|
LIBDIR := $(DESTDIR)/usr/lib
|
||||||
INCDIR := $(DESTDIR)/usr/include/mittos
|
INCDIR := $(DESTDIR)/usr/include
|
||||||
|
|
||||||
$(LIBDIR)/libmittos.a: libmittos.a
|
$(LIBDIR)/libmittos.a: libmittos.a
|
||||||
install -D $< $@
|
install -D $< $@
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <graphics.h>
|
#include <mittos/graphics.h>
|
||||||
|
|
||||||
#define incptr(p, n) ((void *)(((uintptr_t)(p)) + (n)))
|
#define incptr(p, n) ((void *)(((uintptr_t)(p)) + (n)))
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint32_t width;
|
uint32_t width;
|
Loading…
x
Reference in New Issue
Block a user