1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-29 01:45:34 +00:00
elinks/src/Makefile

49 lines
842 B
Makefile
Raw Normal View History

path_to_top=..
include $(path_to_top)/Makefile.config
SUBDIRS-$(CONFIG_BOOKMARKS) += bookmarks
SUBDIRS-$(CONFIG_COOKIES) += cookies
SUBDIRS-$(CONFIG_FORMHIST) += formhist
SUBDIRS-$(CONFIG_GLOBHIST) += globhist
SUBDIRS-$(CONFIG_ECMASCRIPT) += ecmascript
SUBDIRS-$(CONFIG_SCRIPTING) += scripting
SUBDIRS = \
bfu \
cache \
config \
dialogs \
document \
encoding \
intl \
main \
mime \
network \
osdep \
protocol \
session \
terminal \
util \
viewer
# Get the GIT HEAD ID if possible
ifdef CG_COMMIT_ID
BUILD_ID=$(shell $(CG_COMMIT_ID) 2> /dev/null)
endif
INCLUDES += -DBUILD_ID="\"$(BUILD_ID)\""
OBJS = vernum.o
vernum.o: FORCE
FORCE:
2005-09-27 19:11:28 +00:00
all-local: elinks
elinks: lib.o
$(call cmd,link)
install-local:
$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
2005-09-22 12:50:59 +00:00
$(INSTALL_PROGRAM) elinks $(DESTDIR)$(bindir)
include $(path_to_top)/Makefile.lib