Link against -lm and C

This commit is contained in:
twinaphex 2015-09-11 02:03:52 +02:00
parent 5a57fd52a8
commit 5d49006ec5

View File

@ -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 $<'