1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

Userland+LibHTML: Add the html command

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.
This commit is contained in:
Sergey Bugaev 2019-09-25 12:45:47 +03:00 committed by Andreas Kling
parent b9493ba783
commit 6ec625d6f3
5 changed files with 16 additions and 16 deletions

View file

@ -2,12 +2,9 @@ include ../../Makefile.common
LIBRARY = libhtml.a
all: $(LIBRARY) tho
all: $(LIBRARY)
include Makefile.shared
tho: $(TEST_OBJS) $(LIBRARY)
$(LD) -o $@ $(LDFLAGS) -L. $(TEST_OBJS) -lhtml -lgui -ldraw -lcore -lc
$(LIBRARY): $(LIBHTML_OBJS)
@echo "LIB $@"; $(AR) rcs $@ $(LIBHTML_OBJS)