OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [userland/] [telnet/] [Makefile] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 763 simons
 
2
CC = or32-uclibc-gcc
3
LD = or32-uclibc-gcc
4
STRIP = or32-uclibc-strip
5
 
6
 
7
EXEC = telnet
8
OBJS = authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o \
9
        terminal.o tn3270.o utilities.o genget.o getent.o misc.o
10
 
11
CFLAGS += -O2 -DPARANOID_TTYS -DTERMCAP -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE -DEMBED
12
CFLAGS += -I../termcap -Wall -Werror-implicit-function-declaration
13
LDFLAGS += -r -d -L ../termcap
14
LDLIBS = -ltermcap
15
 
16
all: $(EXEC)
17
 
18
#uses non LGPL librarys
19
$(EXEC): $(OBJS)
20
#       $(CC) $(LDFLAGS) -o $@ $(OBJS) $(ROOTDIR)/lib/libg/libg.a $(LDLIBS)
21
        $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)
22
        $(STRIP) -g $@
23
 
24
clean:
25
        -rm -f $(EXEC) *.elf *.coff *.gdb *.o
26
 
27
$(OBJS): defines.h externs.h fdset.h general.h types.h ring.h misc.h \
28
                misc-proto.h
29
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.