Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
libretro-minivmac
Commits
2bcb4f4a
Commit
2bcb4f4a
authored
Jan 25, 2022
by
Vladimir Serbinenko
Browse files
Fix compilation of static libraries
parent
a9a4d2be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
2bcb4f4a
...
...
@@ -251,7 +251,13 @@ LDFLAGS += -lm
all
:
$(TARGET)
$(TARGET)
:
$(OBJECTS)
ifeq
($(platform), emscripten)
$(LD)
$(fpic)
$(SHARED)
$(LDFLAGS)
$(LINKOUT)$@
$(OBJECTS)
$(LIBS)
else
ifeq
($(STATIC_LINKING),1)
$(AR)
rcs
$@
$(OBJECTS)
else
$(CC)
$(fpic)
$(SHARED)
$(INCLUDES)
-o
$@
$(OBJECTS)
$(LDFLAGS)
endif
%.o
:
%.c
$(CC)
$(fpic)
$(CFLAGS)
$(INCFLAGS)
-c
-o
$@
$<
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment