mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:22:43 +00:00 
			
		
		
		
	 7e1cb86da7
			
		
	
	
		7e1cb86da7
		
	
	
	
	
		
			
			- "make" builds the normal Serenity libhtml.a - "make -f Makefile.host" builds a test program for the host machine.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			256 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			256 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| extern "C" {
 | |
| int dbgprintf(const char* fmt, ...);
 | |
| int kprintf(const char* fmt, ...);
 | |
| int ksprintf(char* buf, const char* fmt, ...);
 | |
| }
 | |
| 
 | |
| #ifndef USERLAND
 | |
| #    define printf dbgprintf
 | |
| #endif
 | |
| 
 | |
| #ifndef __serenity__
 | |
| #define dbgprintf printf
 | |
| #endif
 |