summaryrefslogtreecommitdiff
path: root/Libraries/LibVT/Makefile
blob: ba58d2af197c69a7419b65f6ee28a6c025d23720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include ../../Makefile.common

OBJS = \
    Terminal.o \
    TerminalWidget.o

LIBRARY = libvt.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