Last change
on this file since 16b5f86 was
277674c,
checked in by Wilmer van der Gaast <wilmer@…>, at 2006-01-13T16:41:46Z
|
Got rid of yahoo_list, since GLib has this all already. Couldn't test too well if this breaks anything, but it shouldn't.
|
-
Property mode set to
100644
|
File size:
746 bytes
|
Rev | Line | |
---|
[b7d3cc34] | 1 | ########################### |
---|
| 2 | ## Makefile for BitlBee ## |
---|
| 3 | ## ## |
---|
| 4 | ## Copyright 2002 Lintux ## |
---|
| 5 | ########################### |
---|
| 6 | |
---|
| 7 | ### DEFINITIONS |
---|
| 8 | |
---|
| 9 | -include ../../Makefile.settings |
---|
| 10 | |
---|
| 11 | # [SH] Program variables |
---|
[277674c] | 12 | objects = yahoo.o crypt.o libyahoo2.o yahoo_fn.o yahoo_httplib.o yahoo_util.o |
---|
[b7d3cc34] | 13 | |
---|
| 14 | CFLAGS += -Wall -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB |
---|
| 15 | LFLAGS += -r |
---|
| 16 | |
---|
| 17 | # [SH] Phony targets |
---|
[afe0764] | 18 | all: yahoo_mod.o |
---|
[b7d3cc34] | 19 | |
---|
| 20 | .PHONY: all clean distclean |
---|
| 21 | |
---|
| 22 | clean: |
---|
| 23 | rm -f *.o core |
---|
| 24 | |
---|
| 25 | distclean: clean |
---|
| 26 | |
---|
| 27 | ### MAIN PROGRAM |
---|
| 28 | |
---|
| 29 | $(objects): ../../Makefile.settings Makefile |
---|
| 30 | |
---|
| 31 | $(objects): %.o: %.c |
---|
| 32 | @echo '*' Compiling $< |
---|
| 33 | @$(CC) -c $(CFLAGS) $< -o $@ |
---|
| 34 | |
---|
[afe0764] | 35 | yahoo_mod.o: $(objects) |
---|
| 36 | @echo '*' Linking yahoo_mod.o |
---|
| 37 | @$(LD) $(LFLAGS) $(objects) -o yahoo_mod.o |
---|
Note: See
TracBrowser
for help on using the repository browser.