Author: peterw
Date: Wed Oct 17 21:42:53 2007
New Revision: 29645
URL:
http://svn.reactos.org/svn/reactos?rev=29645&view=rev
Log:
- Added a very simple makefile for the RosBE tools.
- Fix a warning in echoh.c.
Added:
trunk/tools/RosBE-Windows/Tools/makefile
Modified:
trunk/tools/RosBE-Windows/Tools/echoh.c
Modified: trunk/tools/RosBE-Windows/Tools/echoh.c
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Tools/echoh.c?…
==============================================================================
--- trunk/tools/RosBE-Windows/Tools/echoh.c (original)
+++ trunk/tools/RosBE-Windows/Tools/echoh.c Wed Oct 17 21:42:53 2007
@@ -9,6 +9,7 @@
#include <stdio.h>
+#include <stdlib.h>
int main(int argc, char** argv) {
if (argc == 2)
Added: trunk/tools/RosBE-Windows/Tools/makefile
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Tools/makefile…
==============================================================================
--- trunk/tools/RosBE-Windows/Tools/makefile (added)
+++ trunk/tools/RosBE-Windows/Tools/makefile Wed Oct 17 21:42:53 2007
@@ -1,0 +1,26 @@
+# makefile - Simple makefile to build the various RosBE tools.
+
+CC = gcc
+OFLAGS = -Wall -O2 -o
+
+buildtime: buildtime.c
+ $(CC) $(HOST_CFLAGS) $(OFLAGS) buildtime buildtime.c
+
+cpucount: cpucount.c
+ $(CC) $(HOST_CFLAGS) $(OFLAGS) cpucount cpucount.c
+
+echoh: echoh.c
+ $(CC) $(HOST_CFLAGS) $(OFLAGS) echoh echoh.c
+
+flash: flash.c
+ $(CC) $(HOST_CFLAGS) -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 $(OFLAGS) flash flash.c
+
+getdate: getdate.c
+ $(CC) $(HOST_CFLAGS) $(OFLAGS) getdate getdate.c
+
+all: buildtime.c cpucount.c echoh.c flash.c getdate.c
+ $(CC) $(HOST_CFLAGS) $(OFLAGS) buildtime buildtime.c
+ $(CC) $(HOST_CFLAGS) $(OFLAGS) cpucount cpucount.c
+ $(CC) $(HOST_CFLAGS) $(OFLAGS) echoh echoh.c
+ $(CC) $(HOST_CFLAGS) -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 $(OFLAGS) flash flash.c
+ $(CC) $(HOST_CFLAGS) $(OFLAGS) getdate getdate.c