mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 1c0669f010
			
		
	
	
		1c0669f010
		
	
	
	
	
		
			
			Instead of LibGUI and WindowServer building their own copies of the drawing and graphics code, let's it in a separate LibDraw library. This avoids building the code twice, and will encourage better separation of concerns. :^)
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			429 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			429 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| include ../../Makefile.common
 | |
| 
 | |
| OBJS = \
 | |
|     main.o
 | |
| 
 | |
| APP = HelloWorld2
 | |
| 
 | |
| DEFINES += -DUSERLAND
 | |
| 
 | |
| all: $(APP)
 | |
| 
 | |
| main.cpp: UI_HelloWorld2.h
 | |
| 
 | |
| UI_HelloWorld2.h: HelloWorld2.frm
 | |
| 	../../DevTools/FormCompiler/FormCompiler $< > $@
 | |
| 
 | |
| $(APP): $(OBJS)
 | |
| 	$(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -ldraw -lcore -lc
 | |
| 
 | |
| .cpp.o:
 | |
| 	@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
 | |
| 
 | |
| -include $(OBJS:%.o=%.d)
 | |
| 
 | |
| clean:
 | |
| 	@echo "CLEAN"; rm -f $(APP) $(OBJS) *.d
 | |
| 
 |