summaryrefslogtreecommitdiff
path: root/Makefile.micro
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-08-23 14:10:58 +0200
committerNicholas Clark <nick@ccl4.org>2011-08-24 15:25:20 +0200
commitdde5ec2cdf32b8230be523d637c5f541bef9f38f (patch)
treea4eb2a065e018f361ce3a0444177abb9ef16fa8f /Makefile.micro
parentd8bc13fdf630994a826c6194f7f0266876e93782 (diff)
downloadperl-dde5ec2cdf32b8230be523d637c5f541bef9f38f.tar.gz
For microperl, prefix generateuudmap and the 3 generated headers with u.
Without this, the main Makefile and Makefile.micro interfere with each other, as they both generate the same 5 files, and both think that they can delete them with their respective clean targets.
Diffstat (limited to 'Makefile.micro')
-rw-r--r--Makefile.micro16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.micro b/Makefile.micro
index 5093949cde..8ce48b4d71 100644
--- a/Makefile.micro
+++ b/Makefile.micro
@@ -27,7 +27,7 @@ O = uav$(_O) udeb$(_O) udoio$(_O) udoop$(_O) udump$(_O) \
microperl: $(O)
$(LD) -o $@ $(O) $(LDFLAGS) $(LIBS)
-generated_headers = uudmap.h bitcount.h mg_data.h
+generated_headers = uuudmap.h ubitcount.h umg_data.h
H = av.h uconfig.h cop.h cv.h embed.h embedvar.h form.h gv.h handy.h \
hv.h intrpvar.h iperlsys.h mg.h op.h opcode.h opnames.h pad.h \
patchlevel.h perl.h perlsdio.h perlvars.h perly.h pp.h \
@@ -37,7 +37,7 @@ H = av.h uconfig.h cop.h cv.h embed.h embedvar.h form.h gv.h handy.h \
HE = $(H) EXTERN.h
clean:
- -rm -f $(O) microperl generate_uudmap$(_X) $(generated_headers)
+ -rm -f $(O) microperl ugenerate_uudmap$(_X) $(generated_headers)
distclean: clean
@@ -178,16 +178,16 @@ uutil$(_O): $(HE) util.c
uperlapi$(_O): $(HE) perlapi.c perlapi.h
$(CC) $(CCFLAGS) -o $@ $(CFLAGS) perlapi.c
-uudmap.h mg_data.h: bitcount.h
+uuudmap.h umg_data.h: ubitcount.h
-bitcount.h: generate_uudmap$(_X)
- $(RUN) ./generate_uudmap$(_X) $(generated_headers)
+ubitcount.h: ugenerate_uudmap$(_X)
+ $(RUN) ./ugenerate_uudmap$(_X) $(generated_headers)
-generate_uudmap$(_O): generate_uudmap.c
+ugenerate_uudmap$(_O): generate_uudmap.c
$(CC) $(CCFLAGS) -o $@ $(CFLAGS) generate_uudmap.c
-generate_uudmap$(_X): generate_uudmap$(_O)
- $(LD) -o generate_uudmap $(LDFLAGS) generate_uudmap$(_O) $(LIBS)
+ugenerate_uudmap$(_X): ugenerate_uudmap$(_O)
+ $(LD) -o ugenerate_uudmap $(LDFLAGS) ugenerate_uudmap$(_O) $(LIBS)
microtest: microperl
- cd t && (rm -f perl; ln -s ../microperl perl) \