Commit 4aa7a83f3e7228c43c71860321a515dbf13cb631

Authored by Perry Werneck
1 parent f84e70e0

Ajustes para uso como sub-projeto.

Showing 2 changed files with 5 additions and 2 deletions   Show diff stats
Makefile.in
... ... @@ -93,7 +93,9 @@ $(OBJDBG)/%.o: \
93 93 @$(MKDIR) `dirname $@`
94 94 @$(CC) \
95 95 $(CFLAGS) \
96   - -Wall -Wextra -fstack-check -DDEBUG=1 \
  96 + -Wall -Wextra -fstack-check \
  97 + -DDEBUG=1 \
  98 + -DDATADIR=$(BASEDIR) \
97 99 -o $@ -c $<
98 100  
99 101 #---[ Release Rules ]--------------------------------------------------------------------
... ... @@ -107,6 +109,7 @@ $(OBJRLS)/%.o: \
107 109 @$(CC) \
108 110 $(CFLAGS) \
109 111 -DNDEBUG=1 \
  112 + -DDATADIR=$(datarootdir)/pw3270 \
110 113 -o $@ -c $<
111 114  
112 115 #---[ Release Targets ]------------------------------------------------------------------
... ...
autogen.sh
... ... @@ -18,7 +18,7 @@ if test $? != 0 ; then
18 18 exit -1
19 19 fi
20 20  
21   -mkdir scripts
  21 +mkdir -p scripts
22 22 automake --add-missing 2> /dev/null | true
23 23  
24 24 cd "$olddir"
... ...