source: lib/Makefile @ 4a0614e

Last change on this file since 4a0614e was 7ed3199, checked in by Wilmer van der Gaast <wilmer@…>, at 2006-06-25T14:07:01Z

Moved Base64-related functions to a separate file and added decode funtions.

  • Property mode set to 100644
File size: 720 bytes
RevLine 
[df1694b]1###########################
2## Makefile for BitlBee  ##
3##                       ##
4## Copyright 2006 Lintux ##
5###########################
6
7### DEFINITIONS
8
9-include ../Makefile.settings
10
11# [SH] Program variables
[7ed3199]12objects = base64.o $(EVENT_HANDLER) http_client.o ini.o md5.o misc.o proxy.o rc4.o sha.o $(SSL_CLIENT) url.o
[df1694b]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.