mirror of
https://github.com/rkd77/elinks.git
synced 2025-10-21 19:54:04 -04:00
Ditch the building of an archive (.a) in favour of linking all objects in a directory into a lib.o file. This makes it easy to link in subdirectories and more importantly keeps the build logic in the local subdirectories. Note: after updating you will have to rm **/*.a if you do not make clean before updating.
14 lines
238 B
Makefile
14 lines
238 B
Makefile
path_to_top=../..
|
|
include $(path_to_top)/Makefile.config
|
|
|
|
ifeq ($(CONFIG_NLS),yes)
|
|
gettextdir = gettext
|
|
gettextobj = $(gettextdir)/lib.o
|
|
endif
|
|
|
|
SUBDIRS = $(gettextdir)
|
|
|
|
OBJS = charsets.o $(gettextobj)
|
|
|
|
include $(path_to_top)/Makefile.lib
|