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 | 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 ]------------------------------------------------------------------ | ... | ... |