cleanup: remove tree/file parameter where possible
[hed.git] / src / Makefile
blobfc076036b96d45518ecdf755623921bb8eed79c1
1 export
2 unexport INCLUDES
3 INCLUDES=-I. -I..
6 OBJS=main.o
7 SUBDIRS=config term ui
8 LOCALLIBS=config/config.a term/term.a ui/ui.a ../libhed/libhed.a
10 all: all-recursive hed
12 # all-recursive here will make sure link is not called too early
13 # in case of parallel make
14 hed: all-recursive $(OBJS) $(LOCALLIBS)
15 $(call cmd,link)
18 clean: clean-recursive
19 rm -rf hed *.o
21 install: all
22 $(INSTALL) -D hed $(DESTDIR)$(BINDIR)/hed
24 -include ../Makefile.lib