source: lib/Makefile @ 6a90967

Last change on this file since 6a90967 was 2c7df62, checked in by Jelmer Vernooij <jelmer@…>, at 2006-12-06T12:15:09Z

Fix testsuite.

  • Property mode set to 100644
File size: 728 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 = base64.o $(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
20check:
21
22.PHONY: all clean distclean
23
24clean: $(subdirs)
25        rm -f *.o $(OUTFILE) core
26
27distclean: clean $(subdirs)
28
29### MAIN PROGRAM
30
31lib.o: $(objects) $(subdirs)
32        @echo '*' Linking lib.o
33        @$(LD) $(LFLAGS) $(objects) -o lib.o
34
35$(objects): ../Makefile.settings Makefile
36
37$(objects): %.o: %.c
38        @echo '*' Compiling $<
39        @$(CC) -c $(CFLAGS) $< -o $@
Note: See TracBrowser for help on using the repository browser.