RosBE/RosBE-Windows/Tools/makefile
Peter Ward 87a49a5af7 - Make options.exe use APPDATA.
- Move the functionality of scut.cmd into a .c file
  (and use APPDATA for srclist.txt).
- Give rosbe-gcc-env.cmd the ability to initialize a GCC without
  the rest of the scripts.
- Changed the options.exe icon to one that fits better with an
  "options" tool.
- options.exe will live in the Tools directory now.
- Move Root\srclist.txt to Tools\srclist.txt.
- Other miscellaneous cleanup.

svn path=/trunk/tools/RosBE-Windows/; revision=476
2007-10-31 15:15:29 +00:00

41 lines
874 B
Makefile

# makefile - Simple makefile to build the various RosBE tools.
.PHONY: all clean
CC := gcc
CFLAGS := ${HOST_CFLAGS} -Wall -O2 -o
LFLAGS := -s
WINVER := 0x502
all: buildtime chknewer chkslash cpucount echoh flash getdate scut tee
buildtime: buildtime.c
${CC} ${CFLAGS} buildtime buildtime.c
chknewer: chknewer.c
${CC} ${CFLAGS} chknewer chknewer.c
chkslash: chkslash.c
${CC} ${CFLAGS} chkslash chkslash.c
cpucount: cpucount.c
${CC} ${CFLAGS} cpucount cpucount.c
echoh: echoh.c
${CC} ${CFLAGS} echoh echoh.c
flash: flash.c
${CC} -DWINVER=${WINVER} -D_WIN32_WINNT=${WINVER} ${CFLAGS} flash flash.c
getdate: getdate.c
${CC} ${CFLAGS} getdate getdate.c
scut: scut.c
${CC} ${CFLAGS} scut scut.c
tee: tee.c
${CC} ${CFLAGS} tee tee.c
clean:
del /f buildtime.exe chknewer.exe chkslash.exe cpucount.exe echoh.exe flash.exe getdate.exe scut.exe tee.exe