aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fae7da1..9e07249 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ TESTPROGS := $(addprefix tests/,$(TESTPROGS))
all: $(TARGET)
$(TARGET): $(OBJS)
- $(CC) ${TARGET_LDFLAGS} -o $@ $(OBJS)
+ $(CC) -o $@ $(OBJS) ${TARGET_LDFLAGS}
%.o: %.c
$(CC) $(CFLAGS) -MMD -MF $(@:.o=.d) -MT $@ -c -o $@ $<