mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2025-12-06 05:32:00 +01:00
Merge pull request #786 from jg1uaa/master
replace CFLAGS -> LDFLAGS when linking
This commit is contained in:
commit
f02cbcb141
4
Makefile
4
Makefile
|
|
@ -20,10 +20,10 @@ OBJECTS = \
|
||||||
all: MMDVMHost RemoteCommand
|
all: MMDVMHost RemoteCommand
|
||||||
|
|
||||||
MMDVMHost: GitVersion.h $(OBJECTS)
|
MMDVMHost: GitVersion.h $(OBJECTS)
|
||||||
$(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o MMDVMHost
|
$(CXX) $(OBJECTS) $(LDFLAGS) $(LIBS) -o MMDVMHost
|
||||||
|
|
||||||
RemoteCommand: Log.o RemoteCommand.o UDPSocket.o
|
RemoteCommand: Log.o RemoteCommand.o UDPSocket.o
|
||||||
$(CXX) Log.o RemoteCommand.o UDPSocket.o $(CFLAGS) $(LIBS) -o RemoteCommand
|
$(CXX) Log.o RemoteCommand.o UDPSocket.o $(LDFLAGS) $(LIBS) -o RemoteCommand
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue