Last change
on this file since 15832cc was
b7d3cc34,
checked in by Wilmer van der Gaast <wilmer@…>, at 2005-11-06T18:23:18Z
|
Initial repository (0.99 release tree)
|
-
Property mode set to
100644
|
File size:
711 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 |
---|
| 12 | objects = expat.o hashtable.o jid.o jpacket.o jutil.o log.o pool.o str.o xmlnode.o xmlparse.o xmlrole.o xmltok.o jabber.o |
---|
| 13 | |
---|
| 14 | CFLAGS += -Wall |
---|
| 15 | LFLAGS += -r |
---|
| 16 | |
---|
| 17 | # [SH] Phony targets |
---|
| 18 | all: jabberr.o |
---|
| 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 | |
---|
| 35 | jabberr.o: $(objects) |
---|
| 36 | @echo '*' Linking jabberr.o |
---|
| 37 | @$(LD) $(LFLAGS) $(objects) -o jabberr.o |
---|
Note: See
TracBrowser
for help on using the repository browser.