summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d6906b0..3315f2d 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ all: $(TARGET_EXEC)
$(TARGET_EXEC): build/xbot.o
mkdir -p build
- $(CC) $(LDFLAGS) -o $@ $<
+ $(CC) -o $@ $< $(LDFLAGS)
build/%.o: src/%.c
mkdir -p build