source:
protocols/jabber/Makefile
@
8f243ad
Last change on this file since 8f243ad was 8f243ad, checked in by , at 2006-09-20T09:36:53Z | |
---|---|
|
|
File size: 630 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 |
12 | objects = jabber.o xmltree.o |
13 | |
14 | CFLAGS += -Wall |
15 | LFLAGS += -r |
16 | |
17 | # [SH] Phony targets |
18 | all: jabber_mod.o |
19 | |
20 | .PHONY: all clean distclean |
21 | |
22 | clean: |
23 | rm -f *.o core |
24 | |
25 | distclean: 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 | |
35 | jabber_mod.o: $(objects) |
36 | @echo '*' Linking jabber_mod.o |
37 | @$(LD) $(LFLAGS) $(objects) -o jabber_mod.o |
Note: See TracBrowser
for help on using the repository browser.