cd3b652fff
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39812 3c298f89-4303-0410-b956-a3cf2f4a3e73
18 lines
383 B
Diff
18 lines
383 B
Diff
---
|
|
Makefile | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -18,8 +18,8 @@ osd:
|
|
$(LIBOSD):
|
|
$(MAKE) -C $(OSD)
|
|
|
|
-mdk3: mdk3.c $(OSD)/libosdep.a
|
|
- $(CC) $(CFLAGS) $(LINKFLAGS) $^ -o $@ $(LIBS)
|
|
+mdk3: $(LIBOSD) mdk3.c
|
|
+ $(CC) $(CFLAGS) $(LINKFLAGS) mdk3.c $(OSD)/lib$(OSD).a -o $@ $(LIBS)
|
|
|
|
install: mdk3
|
|
$(MAKE) -C $(OSD) install
|