home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
linuxmafia.com 2016
/
linuxmafia.com.tar
/
linuxmafia.com
/
pub
/
palmos
/
linkmaster-src-1.0.4.tar.gz
/
linkmaster-src-1.0.4.tar
/
linkmaster-1.0.4
/
proxy
/
ab
/
Makefile
< prev
next >
Wrap
Makefile
|
2000-10-12
|
1KB
|
65 lines
## Makefile for Proxy Address
TARGET = proxyaddr
APPNAME = "Proxy Address"
APPID = "LPab"
OBJS = $(TARGET).o AddressDB.o linkaware.o
LIBS =
CC = m68k-palmos-coff-gcc
CFLAGS = -Wall -g -O2 -DNO_LINKCONTAINER -DNO_LINKHISTORY
PILRC = pilrc
OBJRES = m68k-palmos-coff-obj-res
NM = m68k-palmos-coff-nm
BUILDPRC = build-prc
PILOTXFER = pilot-xfer
all: $(TARGET).prc
.S.o:
$(CC) $(TARGETFLAGS) -c $<
.c.s:
$(CC) $(CSFLAGS) $<
$(TARGET).prc: code0000.$(TARGET).grc code0001.$(TARGET).grc data0000.$(TARGET).grc pref0000.$(TARGET).grc rloc0000.$(TARGET).grc bin.res
$(BUILDPRC) -t PROX $(TARGET).prc $(APPNAME) $(APPID) code0001.$(TARGET).grc code0000.$(TARGET).grc data0000.$(TARGET).grc *.bin pref0000.$(TARGET).grc rloc0000.$(TARGET).grc
code0000.$(TARGET).grc: $(TARGET)
$(OBJRES) $(TARGET)
code0001.$(TARGET).grc: code0000.$(TARGET).grc
data0000.$(TARGET).grc: code0000.$(TARGET).grc
pref0000.$(TARGET).grc: code0000.$(TARGET).grc
rloc0000.$(TARGET).grc: code0000.$(TARGET).grc
bin.res: $(TARGET).rcp $(TARGET).pbm
$(PILRC) $(TARGET).rcp .
cp ab03e8.ico tAIB03e8.bin
cp ab03e9.ico tAIB03e9.bin
echo a > Link0001.bin
touch bin.res
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -o $(TARGET) $(LIBS)
! $(NM) -u $(TARGET) | grep .
send: $(TARGET).prc
$(PILOTXFER) -i $(TARGET).prc
depend:
makedepend -Y -I. *.c
clean:
-rm -f *.[oa] $(TARGET) *.bin bin.res *.grc Makefile.bak
veryclean: clean
-rm -f $(TARGET).prc pilot.ram pilot.scratch