Commit 4aa7a83f3e7228c43c71860321a515dbf13cb631
1 parent
f84e70e0
Exists in
master
and in
3 other branches
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,7 +93,9 @@ $(OBJDBG)/%.o: \ | ||
| 93 | @$(MKDIR) `dirname $@` | 93 | @$(MKDIR) `dirname $@` |
| 94 | @$(CC) \ | 94 | @$(CC) \ |
| 95 | $(CFLAGS) \ | 95 | $(CFLAGS) \ |
| 96 | - -Wall -Wextra -fstack-check -DDEBUG=1 \ | 96 | + -Wall -Wextra -fstack-check \ |
| 97 | + -DDEBUG=1 \ | ||
| 98 | + -DDATADIR=$(BASEDIR) \ | ||
| 97 | -o $@ -c $< | 99 | -o $@ -c $< |
| 98 | 100 | ||
| 99 | #---[ Release Rules ]-------------------------------------------------------------------- | 101 | #---[ Release Rules ]-------------------------------------------------------------------- |
| @@ -107,6 +109,7 @@ $(OBJRLS)/%.o: \ | @@ -107,6 +109,7 @@ $(OBJRLS)/%.o: \ | ||
| 107 | @$(CC) \ | 109 | @$(CC) \ |
| 108 | $(CFLAGS) \ | 110 | $(CFLAGS) \ |
| 109 | -DNDEBUG=1 \ | 111 | -DNDEBUG=1 \ |
| 112 | + -DDATADIR=$(datarootdir)/pw3270 \ | ||
| 110 | -o $@ -c $< | 113 | -o $@ -c $< |
| 111 | 114 | ||
| 112 | #---[ Release Targets ]------------------------------------------------------------------ | 115 | #---[ Release Targets ]------------------------------------------------------------------ |
autogen.sh