]> mj.ucw.cz Git - eval.git/blob - Makefile
Added stuff for distribution.
[eval.git] / Makefile
1 VERSION=1.0
2 #DEBUG=-ggdb
3 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline $(DEBUG)
4
5 all: bin/box bin/iwrapper bin/md5crypt
6
7 bin/%: src/%.o
8         $(CC) $(LDFLAGS) -o $@ $^
9
10 bin/box: src/box.o
11 bin/iwrapper: src/iwrapper.o
12 bin/md5crypt: src/md5crypt.o src/md5.o
13
14 clean:
15         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core`
16         rm -f bin/box bin/iwrapper bin/md5crypt
17
18 distclean: clean
19
20 .PHONY: all clean distclean