Cleanup: Use hed_block_size() where possible
[hed.git] / Makefile
blobcafa860550686d1853ba242c2e09fc6df636b5d4
1 #### CONFIGURATION
3 PREFIX=/usr/local
4 BINDIR=$(PREFIX)/bin
5 INCDIR=$(PREFIX)/include
6 LIBDIR=$(PREFIX)/lib
7 MANDIR=$(PREFIX)/share/man
9 # gcc-4.1 needs -Wno-pointer-sign
10 CUSTOM_CFLAGS=-Wall -ggdb -O3
11 SYS_CFLAGS=
12 LIBS += -lncurses
14 LD=ld
15 AR=ar
17 ### CONFIGURATION END
19 ifndef INSTALL
20 INSTALL=/usr/bin/install
21 endif
23 export
26 SUBDIRS=libhed src
28 all: all-recursive
30 install: install-recursive
31 $(INSTALL) -D -m 644 doc/hed.1 $(DESTDIR)$(MANDIR)/man1/hed.1
33 install-recursive: all
35 clean: clean-recursive
37 -include Makefile.lib