ladybird/Libraries/LibMarkdown/Makefile
2019-09-28 18:29:42 +02:00

26 lines
402 B
Makefile

include ../../Makefile.common
OBJS = \
MDDocument.o \
MDParagraph.o \
MDHeading.o \
MDCodeBlock.o \
MDList.o \
MDText.o
LIBRARY = libmarkdown.a
DEFINES += -DUSERLAND
all: $(LIBRARY)
$(LIBRARY): $(OBJS)
@echo "LIB $@"; $(AR) rcs $@ $(OBJS) $(LIBS)
.cpp.o:
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
-include $(OBJS:%.o=%.d)
clean:
@echo "CLEAN"; rm -f $(LIBRARY) $(OBJS) *.d