diff options
Diffstat (limited to 'tools/ucl/src/Makefile')
-rw-r--r-- | tools/ucl/src/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/ucl/src/Makefile b/tools/ucl/src/Makefile index 06399822b4..ab6b6c9c0b 100644 --- a/tools/ucl/src/Makefile +++ b/tools/ucl/src/Makefile | |||
@@ -31,6 +31,13 @@ OBJS = $(addprefix $(OBJDIR)/,$(SOURCES:%.c=%.o)) | |||
31 | 31 | ||
32 | libucl$(RBARCH).a: $(TARGET_DIR)libucl$(RBARCH).a | 32 | libucl$(RBARCH).a: $(TARGET_DIR)libucl$(RBARCH).a |
33 | 33 | ||
34 | dll: ucl.dll | ||
35 | ucl.dll: $(TARGET_DIR)ucl.dll | ||
36 | $(TARGET_DIR)ucl.dll: $(OBJS) | ||
37 | @echo DLL $(notdir $@) | ||
38 | $(SILENT)$(CROSS)$(CC) $(CFLAGS) -shared -o $@ $^ \ | ||
39 | -Wl,--output-def,$(TARGET_DIR)ucl.def | ||
40 | |||
34 | $(TARGET_DIR)libucl$(RBARCH).a: $(OBJS) | 41 | $(TARGET_DIR)libucl$(RBARCH).a: $(OBJS) |
35 | @echo AR $(notdir $@) | 42 | @echo AR $(notdir $@) |
36 | $(SILENT)$(CROSS)$(AR) rucs $@ $(OBJS) >/dev/null 2>&1 | 43 | $(SILENT)$(CROSS)$(AR) rucs $@ $(OBJS) >/dev/null 2>&1 |