:pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
[gnokii.git] / common / data / 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 =  at-emulator.o \
23         datapump.o \
24         rlp-common.o \
25         rlp-crc24.o \
26         virtmodem.o
27
28
29
30 all: DATA.o
31
32 DATA.o: $(OBJS)
33         $(LD) DATA.o $(OBJS)
34
35 clean:
36         $(RM) $(OBJS) *~ depend DATA.o
37
38 install:
39         @echo
40
41 depend dep:
42         $(CC) $(CFLAGS) -MM *.c >depend
43
44 ifeq (depend,$(wildcard depend))
45 include depend
46 endif
47
48
49 .PHONY: all install clean dep depend
50