--- tools/lzss/makefile.orig	2002-11-29 23:06:56.000000000 +0600
+++ tools/lzss/makefile	2008-06-16 15:35:53.000000000 +0700
@@ -45,9 +45,12 @@
 ifeq ($(findstring qnx,$(TARGET_OS)),qnx)
 include ../../make_qnx.inc
 else
-include ../../makefile.inc
+include ../../config.mak
 endif
 
+CFLAGS = $(CDEFOS) $(CDEFSYS) $(HOST_CFLAGS)
+LDFLAGS = $(OSLDEF) $(HOST_LDFLAGS)
+
 ###########################################################################
 # TARGET: put name of executable image here                               #
 ###########################################################################
