2007-10-19 09:52:23 +00:00
|
|
|
# makefile - Simple makefile to build the various RosBE tools.
|
|
|
|
|
2007-10-23 21:06:47 +00:00
|
|
|
.PHONY: all clean
|
|
|
|
|
|
|
|
CC := gcc
|
|
|
|
CFLAGS := ${HOST_CFLAGS} -Wall -O2 -o
|
2007-10-23 19:09:38 +00:00
|
|
|
LFLAGS := -s
|
|
|
|
WINVER := 0x502
|
2007-10-19 09:52:23 +00:00
|
|
|
|
2007-10-25 07:14:03 +00:00
|
|
|
all: buildtime chknewer chkslash cpucount echoh flash getdate tee
|
2007-10-23 21:06:47 +00:00
|
|
|
|
2007-10-19 09:52:23 +00:00
|
|
|
buildtime: buildtime.c
|
2007-10-23 21:06:47 +00:00
|
|
|
${CC} ${CFLAGS} buildtime buildtime.c
|
2007-10-19 09:52:23 +00:00
|
|
|
|
2007-10-24 07:04:52 +00:00
|
|
|
chknewer: chknewer.c
|
|
|
|
${CC} ${CFLAGS} chknewer chknewer.c
|
|
|
|
|
2007-10-25 01:15:26 +00:00
|
|
|
chkslash: chkslash.c
|
|
|
|
${CC} ${CFLAGS} chkslash chkslash.c
|
|
|
|
|
2007-10-19 09:52:23 +00:00
|
|
|
cpucount: cpucount.c
|
2007-10-23 21:06:47 +00:00
|
|
|
${CC} ${CFLAGS} cpucount cpucount.c
|
2007-10-19 09:52:23 +00:00
|
|
|
|
|
|
|
echoh: echoh.c
|
2007-10-23 21:06:47 +00:00
|
|
|
${CC} ${CFLAGS} echoh echoh.c
|
2007-10-19 09:52:23 +00:00
|
|
|
|
|
|
|
flash: flash.c
|
2007-10-23 21:06:47 +00:00
|
|
|
${CC} -DWINVER=${WINVER} -D_WIN32_WINNT=${WINVER} ${CFLAGS} flash flash.c
|
2007-10-19 09:52:23 +00:00
|
|
|
|
|
|
|
getdate: getdate.c
|
2007-10-23 21:06:47 +00:00
|
|
|
${CC} ${CFLAGS} getdate getdate.c
|
|
|
|
|
2007-10-25 07:14:03 +00:00
|
|
|
tee: tee.c
|
|
|
|
${CC} ${CFLAGS} tee tee.c
|
|
|
|
|
2007-10-23 21:15:08 +00:00
|
|
|
clean:
|
2007-10-25 07:14:03 +00:00
|
|
|
del /f buildtime.exe chknewer.exe chkslash.exe cpucount.exe echoh.exe flash.exe getdate.exe tee.exe
|