Skip to content
Snippets Groups Projects
Verified Commit 6720dfdc authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add makefile and include osal and types

parent 9fbd1537
No related branches found
No related tags found
No related merge requests found
Pipeline #2153 failed
Makefile 0 → 100644
SRC=$(wildcard *.c)
OBJ=$(patsubst %.c,%.o,$(SRC))
all: libpthread.a
libpthread.a: $(OBJ)
$(AR) -rcs $@ $(OBJ)
%.o: %.c
$(CC) $(CFLAGS) -I . -c $< -o $@
#ifndef _OS_SUPPORT_H_
#define _OS_SUPPORT_H_
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
#include <sys/types.h>
// XXX
typedef unsigned long pte_osThreadHandle;
typedef unsigned long pte_osSemaphoreHandle;
typedef int32_t* pte_osMutexHandle;
#include <pte_generic_osal.h>
#ifdef __cplusplus
}
#endif // __cplusplus
#endif // _OS_SUPPORT_H
#ifndef PTE_TYPES_H
#define PTE_TYPES_H
#include <errno.h>
#include <sys/types.h>
#include <sys/timeb.h>
#endif /* PTE_TYPES_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment