OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | diff --git a/src/Makefile b/src/Makefile |
2 | index 99c00bb..17a51ed 100644 |
3 | --- a/src/Makefile |
4 | +++ b/src/Makefile |
5 | @@ -1,5 +1,5 @@ |
6 | # generic UNIX makefile |
7 | -CC = gcc # req. for linux |
8 | +#CC = gcc # req. for linux |
9 | #CC = cc # if you don't have gcc |
10 | # Configuration options: |
11 | # |
12 | @@ -16,11 +16,11 @@ CC = gcc # req. for linux |
13 | # (6) -DXWINGRAPHX 1 X-Windows graphics (UNIX) |
14 | # (7) -DPERMUTATE enables -P switch |
15 | |
16 | -CFLAGS = -O -DEXT94 -DXWINGRAPHX -DPERMUTATE |
17 | +CFLAGS := $(CFLAGS) -O -DEXT94 -DPERMUTATE -DCURSESGRAPHX |
18 | LFLAGS = -x |
19 | -# LIB = -lcurses -ltermlib # enable this one for curses display |
20 | +LIB = -lncurses -ltermlib # enable this one for curses display |
21 | # LIB = -lvgagl -lvga # enable this one for Linux/SVGA |
22 | -LIB = -L/usr/X11R6/lib -lX11 # enable this one for X11 |
23 | +# LIB = -L/usr/X11R6/lib -lX11 # enable this one for X11 |
24 | |
25 | .SUFFIXES: .o .c .c~ .man .doc .6 |
26 | MAINFILE = pmars |
27 | @@ -38,7 +38,7 @@ flags: |
28 | $(MAINFILE): $(OBJ1) $(OBJ2) $(OBJ3) |
29 | @echo Linking $(MAINFILE) |
30 | @$(CC) -o $(MAINFILE) $(OBJ1) $(OBJ2) $(OBJ3) $(LIB) |
31 | - @strip $(MAINFILE) |
32 | + @$(STRIP) $(MAINFILE) |
33 | @echo done |
34 | |
35 | token.o asm.o disasm.o: asm.h |
36 |