1 ## Makefile for LCD test
3 include $(TOP
)/config
/host.cfg
7 APPNAME
= "AROS loader"
10 OBJS
= $(TARGET
).o util.o
12 CC
= m68k-palmos-coff-gcc
13 AS
= m68k-palmos-coff-as
15 INC
= -I
$(TOP
)/bin
/palm-m68k
/AROS
/Include
-I.
18 CFLAGS
= -Wall
-g
-O2
$(INC
) $(USRINC
)
21 OBJRES
= m68k-palmos-coff-obj-res
22 NM
= m68k-palmos-coff-nm
24 PILOTXFER
= pilot-xfer
29 $(CC
) $(TARGETFLAGS
) -c
$<
32 $(CC
) $(CSFLAGS
) AA
-I.
$<
35 # $(AS) -g -I. $^ -o $@
37 $(TARGET
).prc
: code0000.
$(TARGET
).grc code0001.
$(TARGET
).grc data0000.
$(TARGET
).grc pref0000.
$(TARGET
).grc rloc0000.
$(TARGET
).grc bin.res
38 $(BUILDPRC
) $(TARGET
).prc
$(APPNAME
) $(APPID
) code0001.
$(TARGET
).grc code0000.
$(TARGET
).grc data0000.
$(TARGET
).grc
*.bin pref0000.
$(TARGET
).grc rloc0000.
$(TARGET
).grc
40 code0000.
$(TARGET
).grc
: $(TARGET
)
43 code0001.
$(TARGET
).grc
: code0000.
$(TARGET
).grc
45 data0000.
$(TARGET
).grc
: code0000.
$(TARGET
).grc
47 pref0000.
$(TARGET
).grc
: code0000.
$(TARGET
).grc
49 rloc0000.
$(TARGET
).grc
: code0000.
$(TARGET
).grc
51 bin.res
: $(TARGET
).rcp
$(TARGET
).pbm
52 $(PILRC
) $(TARGET
).rcp .
56 $(CC
) $(CFLAGS
) $(OBJS
) -o
$(TARGET
) $(LIBS
)
57 ! $(NM
) -u
$(TARGET
) | grep .
60 $(PILOTXFER
) -p
/dev
/ttyS0
-i
$(TARGET
).prc
62 gdbpanel
: $(TARGET
).prc
63 $(PILOTXFER
) -p
/dev
/ttyS0
-i
/home
/palm
/gdbpanel
/gdbpanel.prc
66 $(PILOTXFER
) -p
/dev
/ttyqe
-i
$(TARGET
).prc
67 $(PILOTXFER
) -p
/dev
/ttyqe
-i
/home
/palm
/gdbpanel
/gdbpanel.prc
73 -rm -f
*.
[oa
] $(TARGET
) *.bin bin.res
*.grc Makefile.bak
*.prc
76 -rm -f
$(TARGET
).prc pilot.ram pilot.scratch