diff --git a/Makefile b/Makefile index 5ff8fec..cb5a76a 100644 --- a/Makefile +++ b/Makefile @@ -34,11 +34,20 @@ PROGRAMS = archbuild default: $(PROGRAMS) -test: archbuild +test: $(PROGRAMS) ./ttyload -i 1 -archbuild: - make ttyload archtest ARCH=`uname -s` +# which architechtures are just symlinks? +ARCHLINKS = \ + arch/Darwin \ + ${NULL} + +# Some architechtures mimic eachother: +archlinks: + ln -fs FreeBSD arch/Darwin + +archbuild: archlinks + make archtest ttyload ARCH=`uname -s` ttyload.c: ttyload.h Version touch ttyload.c @@ -54,10 +63,10 @@ clean: rm -f *.o $(OBJS) core a.out clobber: clean - rm -f loader ttyload archtest + rm -f loader ttyload archtest $(ARCHLINKS) # install, gently. not much to it: -install: archbuild +install: $(PROGRAMS) /bin/cp ttyload ${INSTALLDIR}/ttyload # because different systems' make have different behaviors on how they diff --git a/Version b/Version index 07206da..e891e1d 100644 --- a/Version +++ b/Version @@ -1 +1 @@ -0.5-pre1 +0.5-pre2