summaryrefslogtreecommitdiff
path: root/Libraries/LibDraw/Makefile
blob: c1330120f5ffd3953315f3e73b0bf1111e99fbae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
include ../../Makefile.common

OBJS = \
    CharacterBitmap.o \
    Color.o \
    DisjointRectSet.o \
    Font.o \
    GraphicsBitmap.o \
    Painter.o \
    PNGLoader.o \
    Rect.o \
    StylePainter.o

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