Rev | Line | |
---|
[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] | 12 | objects = 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 | |
---|
| 14 | CFLAGS += -Wall |
---|
| 15 | LFLAGS += -r |
---|
| 16 | |
---|
| 17 | # [SH] Phony targets |
---|
| 18 | all: lib.o |
---|
| 19 | |
---|
[2c7df62] | 20 | check: |
---|
| 21 | |
---|
[df1694b] | 22 | .PHONY: all clean distclean |
---|
| 23 | |
---|
| 24 | clean: $(subdirs) |
---|
| 25 | rm -f *.o $(OUTFILE) core |
---|
| 26 | |
---|
| 27 | distclean: clean $(subdirs) |
---|
| 28 | |
---|
| 29 | ### MAIN PROGRAM |
---|
| 30 | |
---|
| 31 | lib.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.