1 |
# |
2 |
# nanoxrdesktop makefile |
3 |
# |
4 |
# These two following lines must point to the currently installed version of |
5 |
# nano-X. You can override them on the make command line to point at your |
6 |
# installation without changing this file. |
7 |
# |
8 |
NXINCLUDES=/usr/local/nanox/src/include |
9 |
NXLIBS=/usr/local/nanox/src/lib/libnano-X.a |
10 |
|
11 |
CC = gcc |
12 |
CFLAGS = -Os -Wall -I$(NXINCLUDES) |
13 |
RESTOBJ = ../tcp.o ../iso.o ../mcs.o ../secure.o ../rdp.o ../rdp5.o ../orders.o ../cache.o ../mppc.o ../licence.o ../bitmap.o ../channels.o ../pstcache.o |
14 |
LDFLAGS = -lcrypto |
15 |
|
16 |
all: nanoxrd |
17 |
|
18 |
nanoxrd: $(RESTOBJ) nanoxwin.o |
19 |
$(CC) -o nanoxrdesktop nanoxwin.o $(NXLIBS) $(RESTOBJ) $(LDFLAGS) |
20 |
strip nanoxrdesktop |
21 |
|
22 |
clean: |
23 |
rm -f nanoxrdesktop |
24 |
rm -f *.o |
25 |
rm -f ../*.o |