| 1 |
MAKE=gmake |
MAKE=make |
| 2 |
bindir=$(prefix)/bin |
bindir=$(prefix)/bin |
| 3 |
# remove -L/lib/ if you are using MacOS |
# remove -L/lib/ if you are using MacOS |
| 4 |
LIBS = -L/lib/ -lcurses -lmenu |
LIBS = -L/lib/ -lcurses -lmenu |
| 5 |
GCC = gcc |
GCC = gcc |
| 6 |
CFLAGS = -pedantic -Wall |
CFLAGS = -pedantic -Wall |
| 7 |
OPT_FLAGS = -s |
OPT_FLAGS = -s |
| 8 |
DEBUG_FLAGS = -g -DDEBUG |
DEBUG_FLAGS = -g -DDEBUG -O0 |
| 9 |
MODULE= -DMODULE |
MODULE= -DMODULE |
| 10 |
ALL_CFLAGS = $(CFLAGS) $(OPT_FLAGS) |
ALL_CFLAGS = $(CFLAGS) $(OPT_FLAGS) |
| 11 |
SRC=misc.c fildir.c stack.c dialogs.c menu.c subshell.c iface.c ofm.c |
SRC=misc.c fildir.c stack.c dialogs.c menu.c subshell.c iface.c ofm.c |
| 68 |
cd ../; $(MAKE) editor-install |
cd ../; $(MAKE) editor-install |
| 69 |
|
|
| 70 |
editor-install: |
editor-install: |
|
cp ofe/ofe $(bindir)/ofe |
|
| 71 |
|
cp ofe/ofe $(bindir)/ofe |