reactos/rosapps/applications/net/tsclient/rdesktop/uiports/makefile_svga
2009-12-02 18:58:05 +00:00

36 lines
1.4 KiB
Text

CC = gcc
CFLAGS = -Os -DWITH_OPENSSL -DL_ENDIAN -Wall
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
LDFLAGS = -lvga -lcrypto
#LDFLAGS = -lm /usr/local/lib/libvga.a /usr/lib/libcrypto.a
#LDFLAGS = -lvga /usr/lib/libcrypto.a
all: svgard
svgard: svgawin.o $(RESTOBJ)
$(CC) -o svgardesktop svgawin.o $(RESTOBJ) $(LDFLAGS)
strip svgardesktop
#rest: $(RESTOBJ)
#rest: 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
rest: ../tcp.c ../iso.c ../mcs.c ../secure.c ../rdp.c ../rdp5.c ../orders.c ../cache.c ../mppc.c ../licence.c ../bitmap.c ../channels.c ../pstcache.c
$(CC) $(CFLAGS) -c ../tcp.c -o ../tcp.o
$(CC) $(CFLAGS) -c ../iso.c -o ../iso.o
$(CC) $(CFLAGS) -c ../mcs.c -o ../mcs.o
$(CC) $(CFLAGS) -c ../secure.c -o ../secue.o
$(CC) $(CFLAGS) -c ../rdp.c -o ../rdp.o
$(CC) $(CFLAGS) -c ../rdp5.c -o ../rdp5.o
$(CC) $(CFLAGS) -c ../orders.c -o ../orders.o
$(CC) $(CFLAGS) -c ../cache.c -o ../cache.o
$(CC) $(CFLAGS) -c ../mppc.c -o ../mppc.o
$(CC) $(CFLAGS) -c ../licence.c -o ../licence.o
$(CC) $(CFLAGS) -c ../bitmap.c -o ../bitmap.o
$(CC) $(CFLAGS) -c ../channels.c -o ../channels.o
$(CC) $(CFLAGS) -c ../pstcache.c -o ../pstcache.o
svgawin.o: svgawin.c
$(CC) $(CFLAGS) -c $*.c
clean:
rm -f svgardesktop
rm -f *.o
rm -f ../*.o