Add make depend target
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
ebb498105d
commit
bba249e859
2 changed files with 280 additions and 4 deletions
9
Makefile
9
Makefile
|
|
@ -20,7 +20,7 @@
|
|||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
.PHONY: all clean distclean install
|
||||
.PHONY: all clean depend distclean install
|
||||
|
||||
include Makefile.configure
|
||||
|
||||
|
|
@ -125,6 +125,7 @@ sj3stat: $(SJ3STAT_OBJS) libsj3lib.a compats.o
|
|||
Paths.h: Paths.h.in
|
||||
sed -e "s|@SJ3CONFDIR@|/etc/sj3|" -e "s|@SJ3DICTDIR@|$(SHAREDIR)/sj3/dict|" Paths.h.in > $@
|
||||
|
||||
$(ALL_OBJS) compats.o: config.h
|
||||
$(ALL_OBJS): Paths.h
|
||||
cnvhinsi.o: GramTable
|
||||
depend:
|
||||
cc -E -MM -w *.c > Makefile.depend
|
||||
|
||||
include Makefile.depend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue