aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-03-12 19:03:48 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-03-12 19:03:48 +0100
commitd9d646d6442392d60d5c9253706cceb1c9928f5b (patch)
treebc010c23a3d6997668c2814bd83dda38b2eeaa5c /Makefile
parentAdd sample fetch.scm. (diff)
downloadcalp-d9d646d6442392d60d5c9253706cceb1c9928f5b.tar.gz
calp-d9d646d6442392d60d5c9253706cceb1c9928f5b.tar.xz
Add termios bindings from C.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 812205a8..17f90a91 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ X_FILES = $(SCM_C_FILES:.scm.c=.x)
O_FILES = $(C_FILES:%.c=obj/%.o)
-all: parse libguile-calendar.so
+all: parse libguile-calendar.so libtermios.so
parse: $(O_FILES)
$(CC) -o $@ $^ $(LDFLAGS)
@@ -38,7 +38,7 @@ $(OBJDIR)/%.o : %.c # $(H_FILES) $(X_FILES)
$(OBJDIR):
mkdir -p $(OBJDIR)
-libguile-calendar.so: $(O_FILES)
+%.so: $(O_FILES)
$(CC) -shared -o $@ $^ $(LDFLAGS)
.SECONDARY += %.dot