source: protocols/jabber/Makefile @ 2d99c97

Last change on this file since 2d99c97 was b7d3cc34, checked in by Wilmer van der Gaast <wilmer@…>, at 2005-11-06T18:23:18Z

Initial repository (0.99 release tree)

  • Property mode set to 100644
File size: 711 bytes
Line 
1###########################
2## Makefile for BitlBee  ##
3##                       ##
4## Copyright 2002 Lintux ##
5###########################
6
7### DEFINITIONS
8
9-include ../../Makefile.settings
10
11# [SH] Program variables
12objects = expat.o hashtable.o jid.o jpacket.o jutil.o log.o pool.o str.o xmlnode.o xmlparse.o xmlrole.o xmltok.o jabber.o
13
14CFLAGS += -Wall
15LFLAGS += -r
16
17# [SH] Phony targets
18all: jabberr.o
19
20.PHONY: all clean distclean
21
22clean:
23        rm -f *.o core
24
25distclean: clean
26
27### MAIN PROGRAM
28
29$(objects): ../../Makefile.settings Makefile
30
31$(objects): %.o: %.c
32        @echo '*' Compiling $<
33        @$(CC) -c $(CFLAGS) $< -o $@
34
35jabberr.o: $(objects)
36        @echo '*' Linking jabberr.o
37        @$(LD) $(LFLAGS) $(objects) -o jabberr.o
Note: See TracBrowser for help on using the repository browser.