1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/src/main/Makefile
Jonas Fonseca 1efab31581 Simplify building of and linking with directories
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.
2005-09-27 21:38:58 +02:00

11 lines
234 B
Makefile

path_to_top=../..
include $(path_to_top)/Makefile.config
ifeq ($(CONFIG_INTERLINK),yes)
interlinkobj = interlink.o
endif
OBJS = event.o $(interlinkobj) main.o module.o select.o timer.o version.o
include $(path_to_top)/Makefile.lib