summaryrefslogtreecommitdiffstats
path: root/kdvi/make/programs.make
blob: e54b73b5ba1ceebb331a78a90a86868f39ee9490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# programs.make -- used by Makefiles for executables only.
# Linking. Don't include $(CFLAGS), since ld -g under Linux forces
# static libraries, including libc.a and libX*.a
LDFLAGS = @LDFLAGS@ $(XLDFLAGS)
LIBS = @LIBS@
# proglib is for web2c; 
# XLOADLIBES is for the installer.
LOADLIBES= $(proglib) $(kpathsea) $(LIBS) -lm $(XLOADLIBES)

# Why separate CCLD from CC?  No particular reason.
CCLD = $(CXX)
link_command = $(CCLD) -o $@ $(LDFLAGS) 
# End of programs.make.