###########################
## Makefile for BitlBee ##
## ##
## Copyright 2002 Lintux ##
###########################
### DEFINITIONS
-include ../../Makefile.settings
# [SH] Program variables
objects = yahoo.o crypt.o libyahoo2.o yahoo_fn.o yahoo_httplib.o yahoo_list.o yahoo_util.o
CFLAGS += -Wall -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB
LFLAGS += -r
# [SH] Phony targets
all: yahoo_mod.o
.PHONY: all clean distclean
clean:
rm -f *.o core
distclean: clean
### MAIN PROGRAM
$(objects): ../../Makefile.settings Makefile
$(objects): %.o: %.c
@echo '*' Compiling $<
@$(CC) -c $(CFLAGS) $< -o $@
yahoo_mod.o: $(objects)
@echo '*' Linking yahoo_mod.o
@$(LD) $(LFLAGS) $(objects) -o yahoo_mod.o
syntax highlighted by Code2HTML, v. 0.9.1