summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2014-07-15 12:48:37 (GMT)
committerNirbheek Chauhan <nirbheek@centricular.com>2014-07-15 12:48:37 (GMT)
commitd941945543dfd412813ea68dcab70fe57b8b8273 (patch)
tree6651c7cbdbfcfbef7875cc4ef5cf6368c16bc7ad
parent92f29b97038ba686fe298b55681802b9ef8de73d (diff)
downloadsoup-transcoding-proxy-d941945543dfd412813ea68dcab70fe57b8b8273.zip
soup-transcoding-proxy-d941945543dfd412813ea68dcab70fe57b8b8273.tar.gz
Makefile: fix order of arguments to gcc
On Ubuntu, the order seems to matter. Iddo faced this problem.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fde12d0..c73b121 100644
--- a/Makefile
+++ b/Makefile
@@ -10,10 +10,10 @@ SRC_OBJS := $(addprefix src/,debug/local-play.o lib.o encode.o)
VPATH := debug
%.o: %.c %.h
- $(CC) -c $(CFLAGS) $(LIBS) $< -o $@
+ $(CC) -c $< $(CFLAGS) $(LIBS) -o $@
$(SERVER_NAME): src/main.c $(SRC_OBJS)
- $(CC) $(CFLAGS) $(LIBS) $^ -o $@
+ $(CC) $^ $(CFLAGS) $(LIBS) -o $@
all: sst-server