diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -2,11 +2,13 @@ # (c) 1998 Martin Mares <mj@ucw.cz> TOPDIR=$(shell pwd) -CPPFLAGS=-I$(TOPDIR) -CFLAGS=-O2 -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses $(CPPFLAGS) +CPPFLAGS=-I$(TOPDIR)/sysdep/linux -I$(TOPDIR) +OPT=-O2 +DEBUG=-g#gdb +CFLAGS=$(OPT) $(DEBUG) -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses PROTOCOLS= -DIRS=sysdep/linux nest $(PROTOCOLS) lib +DIRS=nest $(PROTOCOLS) lib sysdep/linux sysdep/unix ARCHS=$(join $(addsuffix /,$(DIRS)),$(subst /,_,$(addsuffix .a,$(DIRS)))) export @@ -27,5 +29,5 @@ dep: set -e ; for a in $(DIRS) ; do $(MAKE) -C $$a dep ; done clean: - rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend` + rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*` rm -f bird .dep |