Commit | Line | Data |
---|---|---|
42793c05 | 1 | use ExtUtils::MakeMaker; |
2 | ||
3 | # The existence of the ./sdbm/Makefile.PL file causes MakeMaker | |
4 | # to automatically include Makefile code for the targets | |
5 | # config, all, clean, realclean and sdbm/Makefile | |
6 | # which perform the corresponding actions in the subdirectory. | |
7 | ||
8 | WriteMakefile( | |
4633a7c4 | 9 | 'MYEXTLIB' => 'sdbm/libsdbm$(LIB_EXT)', |
42793c05 | 10 | ); |
11 | ||
12 | ||
13 | sub MY::postamble { | |
14 | ' | |
15 | $(MYEXTLIB): sdbm/Makefile | |
16 | cd sdbm; $(MAKE) all | |
17 | '; | |
18 | } | |
19 |