2000-01-02 08:52:21 -05:00
|
|
|
--- Makefile.in.orig Fri Dec 31 07:47:00 1999
|
|
|
|
+++ Makefile.in Sun Jan 2 21:44:26 2000
|
|
|
|
@@ -6,10 +6,10 @@
|
1999-12-25 10:09:02 -05:00
|
|
|
# including flex and yacc translations.
|
|
|
|
|
|
|
|
# define location where yabasic will search for libraries
|
|
|
|
-library_path = /usr/lib/yabasic
|
|
|
|
+library_path = $(PREFIX)/lib/yabasic
|
|
|
|
|
|
|
|
# flags for cc or gcc (-g for debugging)
|
2000-01-02 08:52:21 -05:00
|
|
|
-ccflags = -DUNIX -DLIBRARY_PATH=\"$(library_path)\"
|
|
|
|
+ccflags = -DUNIX -DLIBRARY_PATH=\"$(library_path)\" $(CFLAGS)
|
|
|
|
|
|
|
|
yab: main.o graphic.o function.o symbol.o io.o bison.o flex.o
|
|
|
|
@CC@ @CCOPTIONS@ $(ccflags) @X_CFLAGS@ \
|
1999-12-25 10:09:02 -05:00
|
|
|
@@ -63,8 +63,8 @@
|
|
|
|
|
|
|
|
# install yabasic on a linux system, need to be root
|
|
|
|
install:
|
|
|
|
- install -s -m 755 -o 0 -g 0 yabasic /usr/bin/yabasic
|
|
|
|
- install -m 644 -d -o 0 -g 0 /usr/doc/yabasic
|
|
|
|
- install -m 644 -o 0 -g 0 yabasic.htm /usr/doc/yabasic
|
|
|
|
+ install -c -s -m 755 -o 0 -g 0 yabasic $(PREFIX)/bin/yabasic
|
2000-01-02 08:52:21 -05:00
|
|
|
+ install -m 644 -d -o 0 -g 0 $(PREFIX)/share/doc/yabasic
|
|
|
|
+ install -c -m 644 -o 0 -g 0 yabasic.htm $(PREFIX)/share/doc/yabasic
|
1999-12-25 10:09:02 -05:00
|
|
|
|
|
|
|
|