mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-23 11:29:44 +00:00
6757760dc1
PRO: We can build it ourselves and its silent in the console. CONS: None. svn path=/trunk/tools/RosBE/; revision=1193
51 lines
1.1 KiB
Makefile
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
|