]> rtime.felk.cvut.cz Git - sysless.git/blob - arch/h8300/generic/tools/tohit/Makefile.std
Included TOHIT H8300 application and flash loader.
[sysless.git] / arch / h8300 / generic / tools / tohit / Makefile.std
1 .PHONY: all
2
3 ifeq ($(SOURCES_DIR),)
4 all: tohit 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: tohit hiterm
16  
17 CFLAGS=-O2 -Wall
18
19 tohit: tohit.o tohit_fn.o
20
21 hiterm: hiterm.o tohit_fn.o
22
23 rs232_lt: rs232_lt.o tohit_fn.o
24         $(CC) $(LDFLAGS) $(CFLAGS) -lncurses -o $@ $^
25  
26 clean:
27         rm -f *.o