Fix search for first block in load_blocks
[hed.git] / Makefile
blob64f562ebb872b70ac612b21552c8547cd761d4ad
1 #### CONFIGURATION
3 PREFIX=/usr/local
4 BINDIR=$(PREFIX)/bin
5 MANDIR=$(PREFIX)/share/man
7 # gcc-4.1 needs -Wno-pointer-sign
8 CUSTOM_CFLAGS=-Wall -ggdb -O3
9 SYS_CFLAGS=
10 LIBS += -lncurses
12 LD=ld
13 AR=ar
15 ### CONFIGURATION END
17 ifndef INSTALL
18 INSTALL=/usr/bin/install
19 endif
21 export
24 SUBDIRS=libhed src
26 all: all-recursive
28 # install-recursive?
29 install: all
30 $(INSTALL) -D src/hed $(DESTDIR)$(BINDIR)/hed
31 $(INSTALL) -D -m 644 doc/hed.1 $(DESTDIR)$(MANDIR)/man1/hed.1
33 clean: clean-recursive
35 -include Makefile.lib