aboutsummaryrefslogtreecommitdiff
path: root/src/driver/Makefile.in
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-09-30 00:36:47 +0000
committerdos-reis <gdr@axiomatics.org>2009-09-30 00:36:47 +0000
commit808c5e28c0e8bc7a397eb2ffd1e77ee7a53061a6 (patch)
tree0f75d1b6419a308c4bd90a71d841bbf91ce8b27e /src/driver/Makefile.in
parent9bef621350fff8de58a30cada7c1a64d76b778fb (diff)
downloadopen-axiom-808c5e28c0e8bc7a397eb2ffd1e77ee7a53061a6.tar.gz
* driver/Makefile.in (open-axiom): Link against core runtime.
* driver/main.c (publish_systemdir): Rework. * include/cfuns.h (oa_setenv): Declare. * lib/cfuns-c.c (oa_setenv): Define.
Diffstat (limited to 'src/driver/Makefile.in')
-rw-r--r--src/driver/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/driver/Makefile.in b/src/driver/Makefile.in
index f64cfab0..0141482e 100644
--- a/src/driver/Makefile.in
+++ b/src/driver/Makefile.in
@@ -1,4 +1,4 @@
-# Copyright (C) 2007-2008, Gabriel Dos Reis.
+# Copyright (C) 2007-2009, Gabriel Dos Reis.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -36,6 +36,8 @@ open_axiom_SOURCES = main.c utils.c
open_axiom_objects = $(open_axiom_SOURCES:.c=.lo)
+open_axiom_LDADD = -L$(axiom_target_libdir) $(oa_c_libs)
+
.PHONY: all all-ax all-driver
all: all-ax
@@ -59,7 +61,7 @@ utils.lo: utils.h
main.lo: utils.h
open-axiom$(EXEEXT): $(open_axiom_objects)
- $(LINK) -o $@ $(open_axiom_objects)
+ $(LINK) -o $@ $(open_axiom_objects) $(open_axiom_LDADD)
mostlyclean-local:
@rm -f $(axiom_objects)