summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuodong Xu <guodong.xu@linaro.org>2012-08-21 09:59:49 +0800
committerGuodong Xu <guodong.xu@linaro.org>2012-08-21 09:59:49 +0800
commit42e92d5c29c8f472365a3e4bc312622ac092ebfa (patch)
tree2c86b6beacc12c5fdde6315d5ca370e91a330d26
parent514fe01053e2d05646213951b4140a4fb6e62efb (diff)
Move -l to end of build commands
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8ffa532..7c7b211 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ extra_libs += -lpthread
all: stm_test
stm_test: main.o fileop.o param_array.o async_veri.o redirect_ttyprintk.o
- $(CC) $(extra_flags) $(extra_libs) -o $@ $^
+ $(CC) $(extra_flags) -o $@ $^ $(extra_libs)
param_array.o: param_array.c
$(CC) $(extra_flags) -c $<
@@ -50,6 +50,6 @@ clean:
param_test: param_array.c
$(CC) -DPARAM_DEBUG_TEST_STUB $(extra_flags) -o $@ $<
async_test: async_veri.c
- $(CC) -DASYNC_VERI_TEST_STUB $(extra_flags) $(extra_libs) -o $@ $<
+ $(CC) -DASYNC_VERI_TEST_STUB $(extra_flags) -o $@ $< $(extra_libs)
redtty_test: redirect_ttyprintk.c
- $(CC) -DREDTTY_TEST_STUB $(extra_flags) $(extra_libs) -o $@ $<
+ $(CC) -DREDTTY_TEST_STUB $(extra_flags) -o $@ $<