mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-18 06:33:35 -04:00
1efab31581
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.
15 lines
240 B
Makefile
15 lines
240 B
Makefile
path_to_top=../..
|
|
include $(path_to_top)/Makefile.config
|
|
|
|
ifeq ($(CONFIG_BZIP2),yes)
|
|
bzip2obj = bzip2.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_GZIP),yes)
|
|
gzipobj = gzip.o
|
|
endif
|
|
|
|
OBJS = encoding.o $(bzip2obj) $(gzipobj)
|
|
|
|
include $(path_to_top)/Makefile.lib
|