fix $(depth) usage for easier kio compilation

This commit is contained in:
dockes 2007-02-02 10:06:05 +00:00
parent 7d4dd0a951
commit b0b1fca891
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
depth = .. depth = ..
include $(depth)/mk/sysconf include $(depth)/mk/sysconf
UNACCFLAGS = -g -I. -I$(depth)/unac $(INCICONV) -DUNAC_VERSION=\"1.0.7\" UNACCFLAGS = $(CFLAGS) -g -I. -I$(depth)/unac $(INCICONV) -DUNAC_VERSION=\"1.0.7\"
LIBS = librcl.a LIBS = librcl.a

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
mk=Makefile mk=Makefile
depth=.. depth=${depth:-..}
SRCS="\ SRCS="\
${depth}/aspell/rclaspell.cpp \ ${depth}/aspell/rclaspell.cpp \
@ -63,10 +63,10 @@ test -f $mk && chmod +w $mk
cat > $mk <<EOF cat > $mk <<EOF
# DONT EDIT BY HAND: created by script mkMake # DONT EDIT BY HAND: created by script mkMake
depth = .. depth = ${depth}
include \$(depth)/mk/sysconf include \$(depth)/mk/sysconf
UNACCFLAGS = -g -I. -I\$(depth)/unac \$(INCICONV) -DUNAC_VERSION=\\"1.0.7\\" UNACCFLAGS = \$(CFLAGS) -g -I. -I\$(depth)/unac \$(INCICONV) -DUNAC_VERSION=\\"1.0.7\\"
LIBS = librcl.a LIBS = librcl.a