home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD1.img
/
d1xx
/
d169
/
src
/
shell
/
makefile
< prev
next >
Wrap
Makefile
|
1988-11-22
|
2KB
|
85 lines
# SHELL makefile for AZTEC C
EXE = srcc:shell
SYMS = ram:symbols.m
SYM = comp:include/symbols.m
AUX = $(EXE) TODO examples.txt shell.h
SRC1 = execom.c
SRC2 = comm2.c
SRC3 = set.c
SRC4 = sub.c
SRC5 = main.c
SRC6 = globals.c
SRC7 = comm1.c
SRC8 = run.c
SRC9 = fexec1.c
SRCA = fexec2.asm
SRCB = c.asm
SRCC = sort.c
SRCD = hat.c
OBJ1 = vd0:execom.o
OBJ2 = vd0:comm2.o
OBJ3 = vd0:set.o
OBJ4 = vd0:sub.o
OBJ5 = vd0:main.o
OBJ6 = vd0:globals.o
OBJ7 = vd0:comm1.o
OBJ8 = vd0:run.o
OBJ9 = vd0:fexec1.o
OBJA = vd0:fexec2.o
OBJB = vd0:c.o
OBJC = vd0:sort.o
OBJD = vd0:hat.o
SRCS = $(SRC1) $(SRC2) $(SRC3) $(SRC4) $(SRC5) $(SRC6) $(SRC7) $(SRC8) $(SRC9) $(SRCA) $(SRCB) $(SRCC) $(SRCD)
OBJS = $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5) $(OBJ6) $(OBJ7) $(OBJ8) $(OBJ9) $(OBJA) $(OBJB) $(OBJC) $(OBJD)
CFLAGS = +L +I$(SYMS)
$(EXE): $(SYMS) $(OBJS)
ln +Q $(OBJS) -lsup32 -ldres -lc32 -o $(EXE)
arc:
-delete ram:shell.arc
arc a ram:shell $(SRCS)
arc a ram:shell $(AUX)
$(SYMS): $(SYM)
copy $(SYM) $(SYMS)
$(OBJ1): $(SRC1)
cc $(CFLAGS) $*.c -o $(OBJ1)
$(OBJ2): $(SRC2)
cc $(CFLAGS) $*.c -o $(OBJ2)
$(OBJ3): $(SRC3)
cc $(CFLAGS) $*.c -o $(OBJ3)
$(OBJ4): $(SRC4)
cc $(CFLAGS) $*.c -o $(OBJ4)
$(OBJ5): $(SRC5)
cc $(CFLAGS) $*.c -o $(OBJ5)
$(OBJ6): $(SRC6)
cc $(CFLAGS) $*.c -o $(OBJ6)
$(OBJ7): $(SRC7)
cc $(CFLAGS) $*.c -o $(OBJ7)
$(OBJ8): $(SRC8)
cc $(CFLAGS) $*.c -o $(OBJ8)
$(OBJ9): $(SRC9)
cc $(CFLAGS) $*.c -o $(OBJ9)
$(OBJA): $(SRCA)
as $*.asm -o $(OBJA)
$(OBJB): $(SRCB)
as $*.asm -o $(OBJB)
$(OBJC): $(SRCC)
cc $(CFLAGS) $*.c -o $(OBJC)
$(OBJD): $(SRCD)
cc $(CFLAGS) $*.c -o $(OBJD)