source: lib/Makefile @ 5c5a586

Last change on this file since 5c5a586 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
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
[a51be64]19check: all
20gcov:
21        gcov *.c
[2c7df62]22
[df1694b]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.