diff libdha/Makefile @ 9881:60d1ccf22469

automatic svgalib_helper detection
author alex
date Tue, 08 Apr 2003 17:11:19 +0000
parents 55e80f13c826
children 38ce28265e5f
line wrap: on
line diff
--- a/libdha/Makefile	Tue Apr 08 16:23:09 2003 +0000
+++ b/libdha/Makefile	Tue Apr 08 17:11:19 2003 +0000
@@ -31,7 +31,9 @@
 # If you want libdha to use svgalib_helper for hardware access,
 # uncomment this statement, and change the -I to the correct directory
 # that includes svgalib_helper.o:
-#CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/
+ifneq ($(wildcard svgalib_helper),)
+CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/
+endif
 
 .SUFFIXES: .c .o