mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:25:08 +00:00

This patch adds pthread_create() and pthread_exit(), which currently simply wrap our existing create_thread() and exit_thread() syscalls. LibThread is also ported to using LibPthread.
19 lines
306 B
Makefile
19 lines
306 B
Makefile
include ../../Makefile.common
|
|
|
|
OBJS = pthread.o
|
|
|
|
LIBRARY = libpthread.a
|
|
DEFINES += -DUSERLAND
|
|
|
|
all: $(LIBRARY)
|
|
|
|
$(LIBRARY): $(OBJS)
|
|
@echo "LIB $@"; $(AR) rcs $@ $(OBJS)
|
|
|
|
.cpp.o:
|
|
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
-include $(OBJS:%.o=%.d)
|
|
|
|
clean:
|
|
@echo "CLEAN"; rm -f $(LIBRARY) $(OBJS) *.d
|