File:  [Tom Morton FrontierVM] / frontvm / Makefile-mingw
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:57:50 2018 UTC (19 months, 2 weeks ago) by root
Branches: frontvm, MAIN
CVS tags: frontvm3-20060623, frontvm3-20060613, HEAD
Tom Morton

export CC = gcc

# if you desire music
export CFLAGS = -O2 -g -Wall -DOGG_MUSIC
export LIBS = -lglu32 -lopengl32 /mingw/lib/libvorbisfile.a /mingw/lib/libvorbis.a /mingw/lib/libogg.a

# or not
#export CFLAGS = -O2 -g -Wall 
#export LIBS = -lglu32 -lopengl32

export FE2OBJS = ../fe2.s.o

THIS=Makefile-mingw

default:
	$(MAKE) -C as68k/
	$(MAKE) -f $(THIS) fe2.s.o
	$(MAKE) -C src/

fe2clean:
	rm -f fe2.s.bin
	rm -f fe2.s.o
	rm -f fe2.s.S
	rm -f fe2.s.c
	rm -f frontier.exe

fe2:
	$(MAKE) -f $(THIS) fe2clean
	$(MAKE) -f $(THIS) fe2.s.o
	$(MAKE) -C src/

fe2.s.o:
	as68k/as68k --output-i386 fe2.s
	$(CC) -c fe2.s.S -o fe2.s.o

clean:
	$(MAKE) -C src/ clean
	rm -f frontier.exe
	$(MAKE) -f $(THIS) fe2clean

allclean:
	$(MAKE) -f $(THIS) clean
	$(MAKE) -C as68k/ clean
	$(MAKE) -C dis68k/ clean
	$(MAKE) -f $(THIS) fe2clean

# To make a nice clean tarball
dist:
	$(MAKE) -f Makefile-C dist

audio-dist:
	$(MAKE) -f Makefile-C audio-dist


unix.superglobalmegacorp.com