mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
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.
28 lines
451 B
Makefile
28 lines
451 B
Makefile
include ../Makefile.common
|
|
|
|
SRCS = $(wildcard *.cpp)
|
|
OBJS = ${SRCS:.cpp=.o}
|
|
APPS = ${SRCS:.cpp=}
|
|
|
|
DEFINES += -DUSERLAND
|
|
|
|
.PHONY: all list clean
|
|
|
|
all: $(OBJS) $(APPS)
|
|
|
|
list:
|
|
@echo $(APPS)
|
|
|
|
clean:
|
|
@echo "CLEAN"
|
|
@rm -f $(APPS) $(OBJS) *.d
|
|
|
|
$(APPS) : % : %.o $(OBJS)
|
|
@echo "LD $@"
|
|
@$(LD) -o $@ $(LDFLAGS) $< -lc -lgui -ldraw -laudio -lipc -lthread -lcore -lpcidb
|
|
|
|
%.o: %.cpp
|
|
@echo "CXX $<"
|
|
@$(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
-include $(OBJS:%.o=%.d)
|