19 |
INC => '-I.', # e.g., '-I. -I/usr/include/other' |
INC => '-I.', # e.g., '-I. -I/usr/include/other' |
20 |
# Un-comment this if you add C files to link with later: |
# Un-comment this if you add C files to link with later: |
21 |
OBJECT => '$(O_FILES)', # link all the C files too |
OBJECT => '$(O_FILES)', # link all the C files too |
22 |
|
OPTIMIZE => '-g', |
23 |
); |
); |
24 |
|
|
25 |
sub MY::postamble { |
sub MY::postamble { |
26 |
return <<'MAKE_FRAG'; |
return <<'MAKE_FRAG'; |
27 |
|
|
28 |
orao: $(INST_ARCHAUTODIR)/$(NAME).$(SO) |
emulator: $(INST_ARCHAUTODIR)/$(NAME).$(SO) config.h perl.o |
29 |
$(CC) -o orao perl.o $(INST_ARCHAUTODIR)/$(NAME).$(SO) `perl -MExtUtils::Embed -e ldopts` |
$(CC) -o emulator perl.o $(INST_ARCHAUTODIR)/$(NAME).$(SO) `perl -MExtUtils::Embed -e ldopts` |
30 |
|
|
31 |
run: orao |
run: emulator |
32 |
( ./orao 2>&1 ) | head -30 |
( ./emulator 2>&1 ) | tee log | head -50 |
33 |
|
|
34 |
MAKE_FRAG |
MAKE_FRAG |
35 |
} |
} |