]> mj.ucw.cz Git - moe.git/blob - Makefile
Cosmetic changes.
[moe.git] / Makefile
1 VERSION=1.0.1
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 bin/pedant
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 bin/pedant: src/pedant.o
14
15 clean:
16         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core`
17         rm -f bin/box bin/iwrapper bin/md5crypt bin/pedant
18
19 distclean: clean
20
21 .PHONY: all clean distclean