summaryrefslogtreecommitdiff
path: root/nuttx/tools
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-31 01:42:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-31 01:42:50 +0000
commitfd57b2a0da0473e878eb1c2abef05de3be7c2e2d (patch)
tree942c9e6714349eb61faa27c17a71cf2c689cb65a /nuttx/tools
parent2d6e5ff6c4450662ffc8d1d8d2f46da0155d6905 (diff)
downloadpx4-nuttx-fd57b2a0da0473e878eb1c2abef05de3be7c2e2d.tar.gz
px4-nuttx-fd57b2a0da0473e878eb1c2abef05de3be7c2e2d.tar.bz2
px4-nuttx-fd57b2a0da0473e878eb1c2abef05de3be7c2e2d.zip
Move more files into subdirectories under lib/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3445 42af7a65-404d-4744-a932-0658087f49c3
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 *~