diff --git a/Makefile b/Makefile index d282c51..ce95567 100644 --- a/Makefile +++ b/Makefile @@ -49,6 +49,12 @@ debug: $(DOBJS) $(LIBFILES) $(LIBTARGET).da flmain.do release: $(OBJS) $(LIBFILES) $(LIBTARGET).a flmain.o $(CC) $(SHIPFLAGS) $(OBJS) flmain.o -o $(EXENAME) $(LIBS) $(LIBTARGET).a +install: release + mkdir -p /usr/local/share/flisp + cp -f flisp /usr/local/share/flisp/ + cp -f flisp.boot /usr/local/share/flisp/ + ln -sf /usr/local/share/flisp/flisp /usr/local/bin/flisp + clean: rm -f *.o rm -f *.do diff --git a/Makefile.macosx b/Makefile.macosx index 502fa10..bd5f973 100644 --- a/Makefile.macosx +++ b/Makefile.macosx @@ -51,6 +51,12 @@ debug: $(DOBJS) $(LIBFILES) $(LIBTARGET).da flmain.do release: $(OBJS) $(LIBFILES) $(LIBTARGET).a flmain.o $(CC) $(SHIPFLAGS) $(OBJS) flmain.o -o $(EXENAME) $(LIBS) $(LIBTARGET).a +install: release + mkdir -p /usr/local/share/flisp + cp -f flisp /usr/local/share/flisp/ + cp -f flisp.boot /usr/local/share/flisp/ + ln -sf /usr/local/share/flisp/flisp /usr/local/bin/flisp + clean: rm -f *.o rm -f *.do