:pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
[gnokii.git] / getopt / Makefile
1 TOPDIR=..
2 include $(TOPDIR)/Makefile.global
3
4 CFLAGS  += $(PTHREAD_CFLAGS)
5 LDFLAGS =
6
7 SRCS = getopt.c getopt1.c
8 OBJS = getopt.o getopt1.o
9
10 all: libgetopt.a
11
12 libgetopt.a: $(OBJS)
13         $(AR) cq $@ $(OBJS)
14
15 depend dep:
16         $(CPP) -M $(CFLAGS) $(SRCS) > depend
17
18 distclean clean::
19         $(RM) $(OBJS) *~ depend *.a
20
21 #####
22 # DO NOT DELETE THIS LINE -- make depend depends on it.
23
24 ifeq (depend,$(wildcard depend))
25 include depend
26 endif
27
28 .PHONY: all clean dep depend