summaryrefslogtreecommitdiffstats
path: root/kdvi/make/programs.make
diff options
context:
space:
mode:
Diffstat (limited to 'kdvi/make/programs.make')
-rw-r--r--kdvi/make/programs.make13
1 files changed, 13 insertions, 0 deletions
diff --git a/kdvi/make/programs.make b/kdvi/make/programs.make
new file mode 100644
index 00000000..e54b73b5
--- /dev/null
+++ b/kdvi/make/programs.make
@@ -0,0 +1,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.