]> rtime.felk.cvut.cz Git - sysless.git/blob - arch/arm/mach-lpc21xx/tools/tolpc/Makefile.std
cmdproc: Make backspace work even in sterm
[sysless.git] / arch / arm / mach-lpc21xx / tools / tolpc / Makefile.std
1 .PHONY: all
2
3 ifeq ($(SOURCES_DIR),)
4 all: tolpc #rs232_lt
5 else
6 # if called from OMK
7 all:
8         $(MAKE) -C $(SOURCES_DIR) SOURCES_DIR='' all
9 endif
10
11 # if called from OMK
12 binary-pass: all
13 check-dir include-pass library-pass utils-pass default-config-pass:
14
15 #all: tolpc lpcerm
16  
17 CFLAGS=-O0 -Wall -g
18 LDFLAGS=-g -lbfd
19
20 tolpc: tolpc.o tolpc_fn.o uuencode.o load_bfd.o
21
22 hiterm: hiterm.o tolpc_fn.o
23
24 rs232_lt: rs232_lt.o tolpc_fn.o
25         $(CC) $(LDFLAGS) $(CFLAGS) -lncurses -o $@ $^
26  
27 clean:
28         rm -f *.o