home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-websites-
/
amidoom
/
adoom_src-0.7.lha
/
ADoom_src
/
smakefile
< prev
next >
Wrap
Makefile
|
1998-01-15
|
3KB
|
147 lines
CC= sc
#DBUG=DEBUG=FULL DEFINE=RANGECHECK
#DBUG=DEBUG=FULL OPTIMIZE OPTTIME NOSTACKCHECK
DBUG=NODEBUG OPTIMIZE OPTTIME NOSTACKCHECK
#MFLAGS=-c g
MFLAGS=
CFLAGS=$(DBUG) CPU=68040 NOICONS STRINGMERGE ABSFUNCPOINTER DATA=FAR VERBOSE \
PARM=REG DEFINE=__BIG_ENDIAN__ DEFINE=NORMALUNIX IGNORE=79 \
DEFINE=strcasecmp=stricmp DEFINE=strncasecmp=strnicmp DEFINE=AMIGA
LDFLAGS=LINK NOICONS
LIBS=
# not too sophisticated dependency
OBJS= \
doomdef.o \
doomstat.o \
dstrings.o \
amiga_system.o \
amiga_sound.o \
amiga_music.o \
amiga_video.o \
amiga_net.o \
amiga_draw.o \
amiga_median.o \
c2p_8_020.o \
c2p_6_020.o \
c2p_8_030.o \
c2p_8_040.o \
c2p_6_040.o \
c2p_8_akiko.o \
c2p8_040_amlaukka.o \
mmu.o \
tables.o \
f_finale.o \
f_wipe.o \
d_main.o \
d_net.o \
d_items.o \
g_game.o \
m_menu.o \
m_misc.o \
m_argv.o \
m_bbox.o \
amiga_fixed.o \
m_swap.o \
m_cheat.o \
m_random.o \
am_map.o \
p_ceilng.o \
p_doors.o \
p_enemy.o \
p_floor.o \
p_inter.o \
p_lights.o \
p_map.o \
p_maputl.o \
p_plats.o \
p_pspr.o \
p_setup.o \
p_sight.o \
p_spec.o \
p_switch.o \
p_mobj.o \
p_telept.o \
p_tick.o \
p_saveg.o \
p_user.o \
r_bsp.o \
r_data.o \
r_draw.o \
r_main.o \
r_plane.o \
r_segs.o \
r_sky.o \
r_things.o \
w_wad.o \
wi_stuff.o \
v_video.o \
st_lib.o \
st_stuff.o \
hu_stuff.o \
hu_lib.o \
s_sound.o \
z_zone.o \
info.o \
sounds.o
all: ADoom
clean:
delete *.o
ADoom: $(OBJS) amiga_main.o
$(CC) < with <
$(CFLAGS) $(LDFLAGS) $(OBJS) amiga_main.o \
PROGRAMNAME ADoom $(LIBS)
<
amiga_fixed.o: amiga_fixed.s
macro68 $(MFLAGS) amiga_fixed.s -o amiga_fixed.o
amiga_draw.o: amiga_draw.s
macro68 $(MFLAGS) amiga_draw.s -o amiga_draw.o
amiga_music.o: amiga_music.s
macro68 $(MFLAGS) amiga_music.s -o amiga_music.o
c2p_8_020.o: c2p_020.s smakefile
macro68 $(MFLAGS) -D "depth=8" c2p_020.s -o c2p_8_020.o
c2p_6_020.o: c2p_020.s smakefile
macro68 $(MFLAGS) -D "depth=6" c2p_020.s -o c2p_6_020.o
c2p_8_030.o: c2p_030.s smakefile
macro68 $(MFLAGS) c2p_030.s -o c2p_8_030.o
c2p_8_040.o: c2p_040.s smakefile
macro68 $(MFLAGS) -D "depth=8" c2p_040.s -o c2p_8_040.o
c2p_6_040.o: c2p_040.s smakefile
macro68 $(MFLAGS) -D "depth=6" c2p_040.s -o c2p_6_040.o
c2p_8_akiko.o: c2p_akiko.s smakefile
macro68 $(MFLAGS) -D "depth=8" c2p_akiko.s -o c2p_8_akiko.o
c2p8_040_amlaukka.o: c2p8_040_amlaukka.s
macro68 $(MFLAGS) c2p8_040_amlaukka.s -o c2p8_040_amlaukka.o
mmu.o: mmu.s
macro68 $(MFLAGS) mmu.s -o mmu.o
amiga_net.o: amiga_net.c
$(CC) $(CFLAGS) INCLUDEDIRECTORY=amitcp:SDK/netinclude $<
%.o: %.c
$(CC) $(CFLAGS) $< -o $@
#############################################################
#
#############################################################