Found in "gnokii-working" directory, some November-patches version
[gnokii.git] / common / links / Makefile
1
2 #
3 # $Id$
4 #
5 # Makefile for the GNOKII tool suite.
6 #
7 # Copyright (C) 1999 Hugh Blemings & Pavel Janík ml.
8 #               2000 Karel Zak
9 #
10
11 #
12 # For this common directory is used "subsystem.o" .o files concept.
13 #   (the list of object files to be linked together (to COMMON.o),
14 #   and other dirs is used this _one_ file (instead of all OBJS)
15 #
16
17 TOPDIR=../..
18 include $(TOPDIR)/Makefile.global
19
20 CFLAGS += $(PTHREAD_CFLAGS)
21
22 OBJS =  fbus.o \
23         fbus-phonet.o \
24         cbus.o \
25         utils.o
26
27 all: LINKS.o
28
29 LINKS.o: $(OBJS)
30         $(LD) LINKS.o $(OBJS)
31
32 clean:
33         $(RM) $(OBJS) *~ depend LINKS.o
34
35 install:
36         @echo
37
38 depend dep:
39         $(CC) $(CFLAGS) -MM *.c >depend
40
41 ifeq (depend,$(wildcard depend))
42 include depend
43 endif
44
45
46 .PHONY: all install clean dep depend
47