summaryrefslogtreecommitdiff
blob: 50a95e6a5c952f45540f3480cce4d1979cca8e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- Makefile
+++ Makefile
@@ -29,11 +29,11 @@
 
 $(SND_PCM_BIN): $(SND_PCM_OBJECTS)
 	@echo LD $@
-	$(Q)$(LD) $(LDFLAGS) $(SND_PCM_LIBS) $(SND_PCM_OBJECTS) -o $(SND_PCM_BIN)
+	$(Q)$(LD) $(LDFLAGS) $(SND_PCM_OBJECTS) -o $(SND_PCM_BIN) $(SND_PCM_LIBS)
 
 $(SND_CTL_BIN): $(SND_CTL_OBJECTS)
 	@echo LD $@
-	$(Q)$(LD) $(LDFLAGS) $(SND_CTL_LIBS) $(SND_CTL_OBJECTS) -o $(SND_CTL_BIN)
+	$(Q)$(LD) $(LDFLAGS) $(SND_CTL_OBJECTS) -o $(SND_CTL_BIN) $(SND_CTL_LIBS)
 
 %.o: %.c
 	@echo GCC $<