Makefile: fixup some forgotten make command prefixes
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 7 Nov 2012 12:16:27 +0000 (13:16 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 7 Nov 2012 12:40:11 +0000 (13:40 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Makefile

index 3096e6a..69b2b9a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ endif
                $(MAKECMDPREFIX)$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
 
 cfgparser:     $(CFGDEPS) src/builddata.o
-               $(MAKE) -C $(CFGDIR)
+               $(MAKECMDPREFIX)$(MAKECMD) -C $(CFGDIR)
 
 switch:                
        $(MAKECMDPREFIX)$(MAKECMD) -C $(SWITCHDIR)
@@ -96,7 +96,7 @@ clean:
        -rm -fr gui/win32/Shim/Release
 
 clean_gui:
-       $(MAKE) -C gui/linux-gtk clean
+       $(MAKECMDPREFIX)$(MAKECMD) -C gui/linux-gtk clean
 
 distclean: uberclean
 uberclean:     clean clean_libs clean_gui