summaryrefslogtreecommitdiff
path: root/tools/ucl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ucl')
-rw-r--r--tools/ucl/src/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/ucl/src/Makefile b/tools/ucl/src/Makefile
index 0639982..ab6b6c9 100644
--- a/tools/ucl/src/Makefile
+++ b/tools/ucl/src/Makefile
@@ -31,6 +31,13 @@ OBJS = $(addprefix $(OBJDIR)/,$(SOURCES:%.c=%.o))
libucl$(RBARCH).a: $(TARGET_DIR)libucl$(RBARCH).a
+dll: ucl.dll
+ucl.dll: $(TARGET_DIR)ucl.dll
+$(TARGET_DIR)ucl.dll: $(OBJS)
+ @echo DLL $(notdir $@)
+ $(SILENT)$(CROSS)$(CC) $(CFLAGS) -shared -o $@ $^ \
+ -Wl,--output-def,$(TARGET_DIR)ucl.def
+
$(TARGET_DIR)libucl$(RBARCH).a: $(OBJS)
@echo AR $(notdir $@)
$(SILENT)$(CROSS)$(AR) rucs $@ $(OBJS) >/dev/null 2>&1