summaryrefslogtreecommitdiff
path: root/nuttx/tools
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/tools')
-rw-r--r--nuttx/tools/Makefile.host (renamed from nuttx/tools/Makefile.mkconfig)17
1 files changed, 11 insertions, 6 deletions
diff --git a/nuttx/tools/Makefile.mkconfig b/nuttx/tools/Makefile.host
index 42262d2b2..a5a83d4ae 100644
--- a/nuttx/tools/Makefile.mkconfig
+++ b/nuttx/tools/Makefile.host
@@ -1,7 +1,7 @@
############################################################################
-# Makefile.mkconfig
+# Makefile.host
#
-# Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
+# Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@@ -33,11 +33,16 @@
#
############################################################################
-all: mkconfig
-default: mkconfig
+all: mkconfig mksyscall
+default: mkconfig mksyscall
+
+CFLAGS = -O2 -Wall
mkconfig: mkconfig.c
- @gcc -O2 -Wall -o mkconfig mkconfig.c
+ @gcc $(CFLAGS) -o mkconfig mkconfig.c
+
+mksyscall: mksyscall.c
+ @gcc $(CFLAGS) -o mksyscall mksyscall.c
clean:
- @rm -f mkconfig mkconfig.exe *~
+ @rm -f mkconfig mksyscall mkconfig.exe mksyscall.exe *~