Revision 18c8241a Makefile

View differences:

Makefile
2 2
# (c) 1998 Martin Mares <mj@ucw.cz>
3 3

  
4 4
TOPDIR=$(shell pwd)
5
CPPFLAGS=-I$(TOPDIR)
6
CFLAGS=-O2 -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses $(CPPFLAGS)
5
CPPFLAGS=-I$(TOPDIR)/sysdep/linux -I$(TOPDIR)
6
OPT=-O2
7
DEBUG=-g#gdb
8
CFLAGS=$(OPT) $(DEBUG) -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses
7 9

  
8 10
PROTOCOLS=
9
DIRS=sysdep/linux nest $(PROTOCOLS) lib
11
DIRS=nest $(PROTOCOLS) lib sysdep/linux sysdep/unix
10 12
ARCHS=$(join $(addsuffix /,$(DIRS)),$(subst /,_,$(addsuffix .a,$(DIRS))))
11 13

  
12 14
export
......
27 29
	set -e ; for a in $(DIRS) ; do $(MAKE) -C $$a dep ; done
28 30

  
29 31
clean:
30
	rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend`
32
	rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`
31 33
	rm -f bird .dep

Also available in: Unified diff