tmove linker flags to end of line - simple_DEM - a simple 2D Discrete Element Method code for educational purposes
(HTM) git clone git://src.adamsgaard.dk/simple_DEM
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 52a46f334107f907709c131987a2db26ba237f5a
(DIR) parent 4a6f41cd760db08c92f63dd77ab1103c96dc3b99
(HTM) Author: Anders Damsgaard <andersd@riseup.net>
Date: Fri, 2 Jun 2017 10:30:23 -0400
move linker flags to end of line
Diffstat:
M Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -9,7 +9,7 @@ BIN=simple_DEM
DEPS=header.h global_properties.h
$(BIN): $(OBJ)
- $(CC) $(LDFLAGS) $^ -o $@
+ $(CC) $^ -o $@ $(LDFLAGS)
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)