RosBE/RosBE-Windows/Tools/makefile
Daniel Reimer 6757760dc1 Add a own built wav play tool made in cpp for the Batch RosBE and remove the PowerBasic one I added yesterday.
PRO: We can build it ourselves and its silent in the console.
CONS: None.

svn path=/trunk/tools/RosBE/; revision=1193
2010-04-01 15:11:05 +00:00

51 lines
1.1 KiB
Makefile

# makefile - Simple makefile to build the various RosBE tools.
.PHONY: all clean
CC := gcc
CFLAGS := ${HOST_CFLAGS} -Wall -O2 -o
STRIP := strip
SUFFIX := .exe
WINVER := 0x500
all: buildtime chknewer chkslash echoh flash getdate playwav rquote tee
buildtime: buildtime.c
${CC} ${CFLAGS} buildtime$(SUFFIX) buildtime.c
$(STRIP) buildtime$(SUFFIX)
chknewer: chknewer.c
${CC} ${CFLAGS} chknewer chknewer.c
$(STRIP) chknewer$(SUFFIX)
chkslash: chkslash.c
${CC} ${CFLAGS} chkslash chkslash.c
$(STRIP) chkslash$(SUFFIX)
echoh: echoh.c
${CC} ${CFLAGS} echoh echoh.c
$(STRIP) echoh$(SUFFIX)
flash: flash.c
${CC} -DWINVER=${WINVER} -D_WIN32_WINNT=${WINVER} ${CFLAGS} flash flash.c
$(STRIP) flash$(SUFFIX)
getdate: getdate.c
${CC} ${CFLAGS} getdate getdate.c
$(STRIP) getdate$(SUFFIX)
playwav: playwav.cpp
${CC} ${CFLAGS} playwav playwav.cpp -lwinmm
$(STRIP) playwav$(SUFFIX)
rquote: rquote.c
${CC} ${CFLAGS} rquote rquote.c
$(STRIP) rquote$(SUFFIX)
tee: tee.c
${CC} ${CFLAGS} tee tee.c
$(STRIP) tee$(SUFFIX)
clean:
del /f buildtime.exe chknewer.exe chkslash.exe echoh.exe flash.exe getdate.exe playwav.exe rquote.exe tee.exe