source: protocols/yahoo/Makefile @ 22bf64e

Last change on this file since 22bf64e 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: 747 bytes
RevLine 
[b7d3cc34]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 = yahoo.o crypt.o libyahoo2.o yahoo_fn.o yahoo_httplib.o yahoo_list.o yahoo_util.o
13
14CFLAGS += -Wall -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB
15LFLAGS += -r
16
17# [SH] Phony targets
18all: yahooo.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
35yahooo.o: $(objects)
36        @echo '*' Linking yahooo.o
37        @$(LD) $(LFLAGS) $(objects) -o yahooo.o
Note: See TracBrowser for help on using the repository browser.