home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 2
/
goldfish_vol2_cd1.bin
/
files
/
comm
/
misc
/
cyberpager
/
source
/
dialer
/
smakefile
< prev
next >
Wrap
Makefile
|
1994-02-07
|
2KB
|
65 lines
# smakefile for the pager dialer
PROGNAME = DialIXO
OPTIMIZE = optimize
#OPTIMIZE = nooptimize debug=sf
HDR = /include/pager.gst
MEMORY = /include/memory.h
CFLAGS = nostkchk strmerge parms=reg $(OPTIMIZE) gstimm utillib
LFLAGS = smallcode smalldata stripdebug # addsym
#LFLAGS = smallcode smalldata addsym
OBJS = /startup/startup.o main.o doService.o send.o serial.o errorMsg.o
LIBS = LIB:amiga.lib LIB:sc.lib LIB:debug.lib
.c.o:
flushlibs
Indent $*.c
sc $(CFLAGS) gst=$(HDR) $*
.a.o:
hx68 from $*.a to $*.o incdir INCLUDE: addsym debug
$(PROGNAME): $(OBJS) smakefile
UpCVersion $(PROGNAME) version.o
slink with lib:utillib.with <WITH < (withfile.lnk)
FROM $(OBJS) version.o
TO $(PROGNAME)
LIB $(LIBS)
$(LFLAGS)
MAP $(PROGNAME).map fhlsx plain
<
##############################################################################
# make target to install the executable in its real home
install:
copy $(PROGNAME) pager:bin/$(PROGNAME) clone
##############################################################################
# make target for reference from the command line that causes
# the version number to be bumped up
version:
UpCVersion $(PROGNAME) version.o v
smake
##############################################################################
# dependancies for various objects
$(HDR): /include/pager.h /include/pager_lib.h /include/clib/pager-support_protos.h /include/pragmas/pager-support_lib.h smakefile
sc $(CFLAGS) noobjname makegst=$(HDR) /include/GSTmaker.c
doService.o: doService.c $(HDR) dialer.h
errorMsg.o: errorMsg.c $(HDR) dialer.h
main.o: main.c $(HDR) dialer.h
send.o: send.c $(HDR) $(MEMORY) dialer.h
serial.o: serial.c $(HDR) $(MEMORY) dialer.h