fixed Makefile for distribution package (which has no Makefile for graphics)
authorHolger Schemel <info@artsoft.org>
Thu, 22 Oct 2015 21:01:07 +0000 (23:01 +0200)
committerHolger Schemel <info@artsoft.org>
Thu, 22 Oct 2015 21:01:48 +0000 (23:01 +0200)
src/Makefile

index 2fe28d6b37ac158bde97a5d8333e0eae79427ef4..63206959173e9699675b5ebb46f2b8dc522fd4f5 100644 (file)
@@ -267,7 +267,7 @@ $(ICON):
        $(CC) $(PROFILING) $(CFLAGS) -c $*.c
 
 graphics_dir:
-       @$(MAKE) -C $(GRAPHICS_DIR)
+       @test -f $(GRAPHICS_DIR)/Makefile && $(MAKE) -C $(GRAPHICS_DIR) || true
 
 clean-obj:
        $(MAKE) -C $(LIBGAME_DIR) clean