mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 01:59:14 +03:00
26 lines
402 B
Makefile
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
|