FreeCalypso > hg > freecalypso-sw
comparison loadtools/Makefile @ 23:aca1948e9713
loadtool: initial version compiles and links
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sat, 04 May 2013 04:52:05 +0000 |
parents | e658a84b37df |
children | ae6294b8a015 |
comparison
equal
deleted
inserted
replaced
22:e658a84b37df | 23:aca1948e9713 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= fc-sertool | 3 PROGS= fc-loadtool fc-sertool |
4 | 4 |
5 SERTOOL_OBJS= defpath.o hexdecode.o hwparam.o romload.o sercomm.o sertool.o \ | 5 SERTOOL_OBJS= defpath.o hexdecode.o hwparam.o romload.o sercomm.o sertool.o \ |
6 srecreader.o ttypassthru.o | 6 srecreader.o ttypassthru.o |
7 | 7 |
8 LOADTOOL_OBJS= defpath.o hexdecode.o hwparam.o ltdispatch.o ltmain.o \ | 8 LOADTOOL_OBJS= defpath.o hexdecode.o hwparam.o ltdispatch.o ltmain.o \ |
9 romload.o sercomm.o srecreader.o tpinterf.o | 9 ltpassthru.o romload.o sercomm.o srecreader.o tpinterf.o |
10 | 10 |
11 all: ${PROGS} ${LOADTOOL_OBJS} | 11 all: ${PROGS} |
12 | 12 |
13 fc-sertool: ${SERTOOL_OBJS} | 13 fc-sertool: ${SERTOOL_OBJS} |
14 ${CC} -o $@ ${SERTOOL_OBJS} | 14 ${CC} -o $@ ${SERTOOL_OBJS} |
15 | 15 |
16 fc-loadtool: ${LOADTOOL_OBJS} | |
17 ${CC} -o $@ ${LOADTOOL_OBJS} | |
18 | |
16 clean: | 19 clean: |
17 rm -f *.o *.out *errs ${PROGS} | 20 rm -f *.o *.out *errs ${PROGS} |