summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/Makefile
blob: 5c714cd84ab3ebffa858f9a45f23a735d6574625 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
include ../../Makefile.common

OBJS = \
    CArgsParser.o \
    CIODevice.o \
    CThread.o \
    CFile.o \
    CSocket.o \
    CLocalSocket.o \
    CLocalServer.o \
    CTCPSocket.o \
    CElapsedTimer.o \
    CNotifier.o \
    CHttpRequest.o \
    CHttpResponse.o \
    CHttpJob.o \
    CNetworkJob.o \
    CNetworkResponse.o \
    CObject.o \
    CTimer.o \
    CEventLoop.o \
    CConfigFile.o \
    CEvent.o \
    CProcessStatisticsReader.o \
    CDirIterator.o \
    CUserInfo.o

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