Hi, I'd like to set conditions on variables in a make file to do: ifndef $(APP_DIR) APP_DIR=/usr/share endif This works on Debian, however on FreeBSD, it doesn't work, and I have to write this: .ifndef $(APP_DIR) APP_DIR=/usr/share .endif Is there something that is compatible with both that I could use? Also, in FreeBSD, the install program doesn't accept the -D parameter when installing a file. How can I test this in a Makefile? Thomas