mirror of
https://github.com/libretro/libretro-wolfenstein3d.git
synced 2024-11-23 16:39:41 +00:00
Link against -lm and C
This commit is contained in:
parent
5a57fd52a8
commit
5d49006ec5
4
Makefile
4
Makefile
@ -34,7 +34,7 @@ CCFLAGS += -Wsequence-point -Iinclude -ISDL_mixer
|
||||
|
||||
CXXFLAGS += $(CFLAGS)
|
||||
|
||||
LDFLAGS += $(LDFLAGS_SDL)
|
||||
LDFLAGS += $(LDFLAGS_SDL) -lm
|
||||
|
||||
SRCS :=
|
||||
SRCS += fmopl.cpp
|
||||
@ -75,7 +75,7 @@ all: $(BINARY)
|
||||
|
||||
$(BINARY): $(OBJS)
|
||||
@echo '===> LD $@'
|
||||
$(Q)$(CXX) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $@
|
||||
$(Q)$(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $@
|
||||
|
||||
.c.o:
|
||||
@echo '===> CC $<'
|
||||
|
Loading…
Reference in New Issue
Block a user