mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:12:45 +00:00 
			
		
		
		
	 e1a6f8a27d
			
		
	
	
		e1a6f8a27d
		
	
	
	
	
		
			
			This library is meant to provide C++-style wrappers over lower level APIs such as syscalls and pthread_* functions, as well as utilities for easily running pieces of logic on different threads.
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			343 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			343 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| include ../../Makefile.common
 | |
| 
 | |
| OBJS = \
 | |
|     Thread.o \
 | |
|     BackgroundAction.o
 | |
| 
 | |
| LIBRARY = libthread.a
 | |
| DEFINES += -DUSERLAND
 | |
| 
 | |
| all: $(LIBRARY)
 | |
| 
 | |
| $(LIBRARY): $(OBJS)
 | |
| 	@echo "LIB $@"; $(AR) rcs $@ $(OBJS) $(LIBS)
 | |
| 
 | |
| .cpp.o:
 | |
| 	@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
 | |
| 
 | |
| -include $(OBJS:%.o=%.d)
 | |
| 
 | |
| clean:
 | |
| 	@echo "CLEAN"; rm -f $(LIBRARY) $(OBJS) *.d
 |