108 lines
3.5 KiB
Makefile
108 lines
3.5 KiB
Makefile
EM=../../../..
|
|
CEG=$(EM)/lib/ceg
|
|
SOURCE=$(CEG)/ce_back/obj_back
|
|
|
|
CC = cc
|
|
CFLAGS = -O
|
|
|
|
IDIRS=-I.\
|
|
-I..\
|
|
-I$(EM)/h\
|
|
-I$(EM)/modules/h
|
|
|
|
LIBS=$(EM)/modules/lib/*.a
|
|
|
|
all : data.o con2.o con4.o relocation.o end_back.o gen1.o gen2.o\
|
|
gen4.o init_back.o output.o reloc1.o reloc2.o reloc4.o\
|
|
rom2.o rom4.o set_global.o set_local.o switchseg.o symboldef.o text2.o\
|
|
text4.o do_open.o do_close.o memory.o label.o misc.o extnd.o symtable.o\
|
|
common.o
|
|
|
|
data.o : data.h back.h header.h $(SOURCE)/data.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/data.c
|
|
|
|
memory.o :data.h back.h header.h $(SOURCE)/memory.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/memory.c
|
|
|
|
con2.o : data.h back.h header.h $(SOURCE)/con2.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/con2.c
|
|
|
|
con4.o : data.h back.h header.h $(SOURCE)/con4.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/con4.c
|
|
|
|
relocation.o : data.h back.h ../mach.h $(SOURCE)/relocation.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/relocation.c
|
|
|
|
do_open.o : data.h back.h ../mach.h $(SOURCE)/do_open.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/do_open.c
|
|
|
|
do_close.o : data.h back.h ../mach.h $(SOURCE)/do_close.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/do_close.c
|
|
|
|
gen1.o : data.h back.h header.h $(SOURCE)/gen1.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/gen1.c
|
|
|
|
gen2.o : data.h back.h header.h $(SOURCE)/gen2.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/gen2.c
|
|
|
|
gen4.o : data.h back.h header.h $(SOURCE)/gen4.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/gen4.c
|
|
|
|
init_back.o : data.h back.h ../mach.h $(SOURCE)/init_back.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/init_back.c
|
|
|
|
end_back.o : data.h back.h ../mach.h $(SOURCE)/end_back.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/end_back.c
|
|
|
|
output.o : data.h back.h ../mach.h $(SOURCE)/output.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/output.c
|
|
|
|
reloc1.o : data.h back.h header.h $(SOURCE)/reloc1.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/reloc1.c
|
|
|
|
reloc2.o : data.h back.h header.h $(SOURCE)/reloc2.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/reloc2.c
|
|
|
|
reloc4.o : data.h back.h header.h $(SOURCE)/reloc4.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/reloc4.c
|
|
|
|
rom2.o : data.h back.h header.h $(SOURCE)/rom2.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/rom2.c
|
|
|
|
rom4.o : data.h back.h header.h $(SOURCE)/rom4.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) $(SOURCE)/rom4.c
|
|
|
|
set_global.o : data.h back.h ../mach.h $(SOURCE)/set_global.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/set_global.c
|
|
|
|
set_local.o : data.h back.h ../mach.h $(SOURCE)/set_local.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/set_local.c
|
|
|
|
switchseg.o : data.h back.h ../mach.h $(SOURCE)/switchseg.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/switchseg.c
|
|
|
|
symboldef.o : data.h back.h ../mach.h $(SOURCE)/symboldef.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/symboldef.c
|
|
|
|
text2.o : data.h back.h ../mach.h $(SOURCE)/text2.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/text2.c
|
|
|
|
text4.o : data.h back.h ../mach.h $(SOURCE)/text4.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/text4.c
|
|
|
|
symtable.o : data.h back.h ../mach.h $(SOURCE)/symtable.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/symtable.c
|
|
|
|
extnd.o : data.h back.h ../mach.h $(SOURCE)/extnd.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/extnd.c
|
|
|
|
misc.o : data.h back.h ../mach.h $(SOURCE)/misc.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/misc.c
|
|
|
|
label.o : data.h back.h ../mach.h $(SOURCE)/label.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/label.c
|
|
|
|
common.o : data.h back.h ../mach.h $(SOURCE)/common.c
|
|
$(CC) $(CFLAGS) -c $(IDIRS) -I.. $(SOURCE)/common.c
|
|
|