source: lib/Makefile @ d323394c

Last change on this file since d323394c was a51be64, checked in by Jelmer Vernooij <jelmer@…>, at 2006-12-06T14:16:56Z

Fix gcov.

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