mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
Build: build Userland binaries separately
Touching one source file shouldn't require relinking all binaries, consider each one separate. Also fix building library dependencies.
This commit is contained in:
parent
2d7259e0a0
commit
d622e4d224
1 changed files with 8 additions and 4 deletions
|
@ -6,13 +6,17 @@ EXTRA_CLEAN = $(APPS)
|
|||
|
||||
LIB_DEPS = HTML GUI Draw Audio Protocol IPC Thread Pthread Core PCIDB Markdown
|
||||
|
||||
all: $(OBJS) $(APPS)
|
||||
include ../Makefile.common
|
||||
|
||||
all: $(APPS)
|
||||
|
||||
list:
|
||||
@echo $(APPS)
|
||||
|
||||
$(APPS): %: %.o $(OBJS)
|
||||
%.o: %.cpp
|
||||
@echo "C++ $@"
|
||||
$(QUIET) $(CXX) $(CXXFLAGS) -o $@ -c $<
|
||||
|
||||
$(APPS): %: %.o $(STATIC_LIB_DEPS)
|
||||
@echo "LINK $@"
|
||||
$(QUIET) $(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
include ../Makefile.common
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue