18 lines
620 B
Diff
18 lines
620 B
Diff
|
Index: ledmon-0.79/src/Makefile
|
||
|
===================================================================
|
||
|
--- ledmon-0.79.orig/src/Makefile
|
||
|
+++ ledmon-0.79/src/Makefile
|
||
|
@@ -65,10 +65,10 @@ SOURCES:=$(shell find -name "*.[cC]" -pr
|
||
|
default: all
|
||
|
|
||
|
ledmon: $(OUTDIR)/.depend $(LEDMON_OBJECTS)
|
||
|
- $(CC) $(LDFLAGS) $(LDLIBS) $(LEDMON_OBJECTS) -o $@
|
||
|
+ $(CC) $(LDLIBS) $(LEDMON_OBJECTS) -o $@ $(LDFLAGS)
|
||
|
|
||
|
ledctl: $(OUTDIR)/.depend $(LEDCTL_OBJECTS)
|
||
|
- $(CC) $(LDFLAGS) $(LDLIBS) $(LEDCTL_OBJECTS) -o $@
|
||
|
+ $(CC) $(LDLIBS) $(LEDCTL_OBJECTS) -o $@ $(LDFLAGS)
|
||
|
|
||
|
$(OUTDIR)/%.o: %.c
|
||
|
$(CC) $(CFLAGS) $(DEFFLAGS) $(INCFLAGS) -c $< -o $@
|