home *** CD-ROM | disk | FTP | other *** search
- # Makefile, for SAS/C V5.10b
-
- DISTFILE = ManualBrowser1_0.lha
-
- EXEC = ManualBrowser
- CSOURCE = main.c DynamicHost.c
- SASSOURCE = SAS_Startup.a SAS_Sprintf.a
- GCCSOURCE = GCC_Startup.s GCC_Sprintf.s HookEntryA1.s
- OTHERSOURCE = lmkfile Makefile Inlines.h Globals.h
- DOCS = ManualBrowser.guide ManualBrowser.readme COPYING
- OTHER = ManualBrowser.config
-
- DISTFILES1 = $(EXEC) $(CSOURCE) $(SASSOURCE) $(OTHERSOURCE)
- DISTFILES2 = $(GCCSOURCE) $(DOCS) $(OTHER)
-
- OBJS = SAS_Startup.o SAS_Sprintf.o main.o DynamicHost.o
-
- CC = lc
- CFLAGS = -v -ms -cstfqm -r1r -dV39 -dmc68000 -O
-
- .a.o:
- asm $*
-
- .c.o:
- $(CC) $(CFLAGS) $*
-
- all: $(EXEC)
-
- ManualBrowser: $(OBJS)
- blink FROM $(OBJS) TO ManualBrowser LIB LIB:lcr.lib LIB:amiga.lib SC SD
-
- main.o: main.c Globals.h
- DynamicHost.o: DynamicHost.c Globals.h
- SAS_Startup.o: SAS_Startup.a
- SAS_Sprintf.o: SAS_Sprintf.a
-
- clean:
- @-Delete $(OBJS) $(EXEC) $(DISTFILE)
-
- dist: $(DISTFILE)
-
- $(DISTFILE): $(DISTFILES1) $(DISTFILES2)
- @-Delete $(DISTFILE)
- lha -a -A -F -r -v0 a $(DISTFILE) $(DISTFILES1)
- lha -a -A -F -r -v0 a $(DISTFILE) $(DISTFILES2)
-