home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Large Pack of OldSkool DOS MOD Trackers
/
goattracker_2.65_stereo.zip
/
src
/
makefile.common
< prev
next >
Wrap
Makefile
|
2007-04-15
|
1KB
|
45 lines
# common makefile directives for linux and win32 build
CC=gcc
CXX=g++
CFLAGS+=-O3 -Wall -Iresid -Ibme -Iasm
CXXFLAGS=$(CFLAGS)
EXE= $(PREFIX)gt2stereo$(SUFFIX) \
$(PREFIX)ins2snd2$(SUFFIX) \
$(PREFIX)ss2stereo$(SUFFIX) \
$(PREFIX)mod2sng2$(SUFFIX)
all: $(EXE)
$(PREFIX)gt2stereo$(SUFFIX): goatdata.o gt2stereo.o gsong.o gorder.o gpattern.o ginstr.o gtable.o gplay.o gdisplay.o \
gfile.o greloc.o ghelp.o gsound.o gconsole.o gsid.o resid/envelope.o resid/extfilt.o resid/filter.o \
resid/pot.o resid/sid.o resid/wave.o resid/w6__st.o resid/w6_p_t.o resid/w6_ps_.o resid/w6_pst.o resid/w8__st.o \
resid/w8_p_t.o resid/w8_ps_.o resid/w8_pst.o resid/voice.o asm/asmtab.o asm/chnkpool.o asm/expr.o asm/lexyy.o \
asm/log.o asm/membuf.o asm/membufio.o asm/namedbuf.o asm/parse.o asm/pc.o asm/vec.o bme/bme_gfx.o bme/bme_snd.o \
bme/bme_win.o bme/bme_mou.o bme/bme_kbd.o bme/bme_io.o bme/bme_end.o bme/bme.o
$(CXX) -o $@ $^ $(LIBS)
strip $@
$(PREFIX)mod2sng2$(SUFFIX): mod2sng2.o bme/bme_end.o
gcc -o $@ $^
strip $@
$(PREFIX)ins2snd2$(SUFFIX): ins2snd2.o bme/bme_end.o
gcc -o $@ $^
strip $@
$(PREFIX)ss2stereo$(SUFFIX): ss2stereo.o bme/bme_end.o
gcc -o $@ $^
strip $@
gt2stereo.dat: player.s altplayer.s chargen.bin palette.bin cursor.bin goattrk2.bmp gt2stereo.seq
datafile $@ gt2stereo.seq
goatdata.c: gt2stereo.dat
dat2inc $< $@
clean:
$(RM) *.o *~
$(RM) $(EXE)