source: lib/Makefile @ df1694b

Last change on this file since df1694b was df1694b, checked in by Wilmer van der Gaast <wilmer@…>, at 2006-06-25T12:15:42Z

Moving all generic files to lib/ instead of having some in / and some in
protocols/, and adding RC4 code.

  • Property mode set to 100644
File size: 711 bytes
Line 
1###########################
2## Makefile for BitlBee  ##
3##                       ##
4## Copyright 2006 Lintux ##
5###########################
6
7### DEFINITIONS
8
9-include ../Makefile.settings
10
11# [SH] Program variables
12objects = $(EVENT_HANDLER) http_client.o ini.o md5.o misc.o proxy.o rc4.o sha.o $(SSL_CLIENT) url.o
13
14CFLAGS += -Wall
15LFLAGS += -r
16
17# [SH] Phony targets
18all: lib.o
19
20.PHONY: all clean distclean
21
22clean: $(subdirs)
23        rm -f *.o $(OUTFILE) core
24
25distclean: clean $(subdirs)
26
27### MAIN PROGRAM
28
29lib.o: $(objects) $(subdirs)
30        @echo '*' Linking lib.o
31        @$(LD) $(LFLAGS) $(objects) -o lib.o
32
33$(objects): ../Makefile.settings Makefile
34
35$(objects): %.o: %.c
36        @echo '*' Compiling $<
37        @$(CC) -c $(CFLAGS) $< -o $@
Note: See TracBrowser for help on using the repository browser.