diff options
Diffstat (limited to 'com32/lua/src/Makefile')
| -rw-r--r-- | com32/lua/src/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/com32/lua/src/Makefile b/com32/lua/src/Makefile index 70a7e808..f3625e1a 100644 --- a/com32/lua/src/Makefile +++ b/com32/lua/src/Makefile @@ -49,10 +49,11 @@ CFLAGS += -DLUA_ANSI all: $(MODULES) $(TESTFILES) -$(LIBLUA) : $(LIBLUA_OBJS) - $(LD) -shared $(LDFLAGS) -o $@ $^ +liblua.elf : $(LIBLUA_OBJS) + $(LD) $(LDFLAGS) -shared -soname $(patsubst %.elf,%.c32,$(@F)) \ + -o $@ $^ -lua.c32 : $(OBJS) $(LIBLUA) $(C_LIBS) +lua.elf : $(OBJS) $(LIBLUA) $(C_LIBS) $(LD) $(LDFLAGS) -o $@ $^ tidy dist: |
