mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 11:00:29 +00:00
6ec625d6f3
This is a simple command that can be used to display HTML from a given file, or from the standard input, in an HtmlView. It replaces the `tho` (test HTML output) command.
28 lines
469 B
Makefile
28 lines
469 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 -lhtml -lgui -ldraw -laudio -lipc -lthread -lcore -lpcidb -lmarkdown
|
|
|
|
%.o: %.cpp
|
|
@echo "CXX $<"
|
|
@$(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
-include $(OBJS:%.o=%.d)
|