1 ## Makefile for LCD test
3 include $(TOP
)/config
/host.cfg
10 OBJS
= $(TARGET
).o gfx.o
11 LIBS
= -L
$(TOP
)/bin
/palm-m68k
/AROS
/lib
-lexec
-lutility
-larossupport
-larosc
-lamiga
13 CC
= m68k-palmos-coff-gcc
14 AS
= m68k-palmos-coff-as
16 INC
= -I
$(TOP
)/bin
/palm-m68k
/AROS
/Include
-I.
-I..
/
19 CFLAGS
= -Wall
-g
-O2
$(INC
) $(USRINC
)
22 OBJRES
= m68k-palmos-coff-obj-res
23 NM
= m68k-palmos-coff-nm
25 PILOTXFER
= pilot-xfer
30 $(CC
) $(TARGETFLAGS
) -c
$<
33 $(CC
) $(CSFLAGS
) AA
-I.
$<
36 # $(AS) -g -I. $^ -o $@
38 $(TARGET
).prc
: code0000.
$(TARGET
).grc code0001.
$(TARGET
).grc data0000.
$(TARGET
).grc pref0000.
$(TARGET
).grc rloc0000.
$(TARGET
).grc bin.res
39 $(BUILDPRC
) $(TARGET
).prc
$(APPNAME
) $(APPID
) code0001.
$(TARGET
).grc code0000.
$(TARGET
).grc data0000.
$(TARGET
).grc
*.bin pref0000.
$(TARGET
).grc rloc0000.
$(TARGET
).grc
41 code0000.
$(TARGET
).grc
: $(TARGET
)
44 code0001.
$(TARGET
).grc
: code0000.
$(TARGET
).grc
46 data0000.
$(TARGET
).grc
: code0000.
$(TARGET
).grc
48 pref0000.
$(TARGET
).grc
: code0000.
$(TARGET
).grc
50 rloc0000.
$(TARGET
).grc
: code0000.
$(TARGET
).grc
52 bin.res
: $(TARGET
).rcp
$(TARGET
).pbm
53 $(PILRC
) $(TARGET
).rcp .
57 $(CC
) $(CFLAGS
) $(OBJS
) -o
$(TARGET
) $(LIBS
)
58 ! $(NM
) -u
$(TARGET
) | grep .
61 $(PILOTXFER
) -p
/dev
/ttyS0
-i
$(TARGET
).prc
63 gdbpanel
: $(TARGET
).prc
64 $(PILOTXFER
) -p
/dev
/ttyS0
-i
/home
/palm
/gdbpanel
/gdbpanel.prc
67 $(PILOTXFER
) -p
/dev
/ttyqe
-i
$(TARGET
).prc
68 $(PILOTXFER
) -p
/dev
/ttyqe
-i
/home
/palm
/gdbpanel
/gdbpanel.prc
74 -rm -f
*.
[oa
] $(TARGET
) *.bin bin.res
*.grc Makefile.bak
*.prc
77 -rm -f
$(TARGET
).prc pilot.ram pilot.scratch