summaryrefslogtreecommitdiff
path: root/Source/Applications/Shell/Makefile
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-20 19:39:46 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-20 19:39:46 +0100
commit1d301e54da75b90172d129594265f2b629f3125a (patch)
tree1eb918a01ef7677c4328ef1d23a2538647448f0b /Source/Applications/Shell/Makefile
parent13d720389a01161a327a30918ad7ac9eec4a3d6c (diff)
downloadMelon-1d301e54da75b90172d129594265f2b629f3125a.tar.gz
Melon-1d301e54da75b90172d129594265f2b629f3125a.zip
rot13, demo app for StreamApp, is working :)
Diffstat (limited to 'Source/Applications/Shell/Makefile')
-rw-r--r--Source/Applications/Shell/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/Applications/Shell/Makefile b/Source/Applications/Shell/Makefile
index d546a15..e972dfb 100644
--- a/Source/Applications/Shell/Makefile
+++ b/Source/Applications/Shell/Makefile
@@ -10,7 +10,9 @@ Objects = Shell.class.o \
Shell-fs.class.o
OutFile = Shell
-all: $(OutFile)
+Applets = Applets/rot13
+
+all: $(OutFile) $(Applets)
echo "* Done with $(OutFile)."
rebuild: mrproper all
@@ -19,6 +21,10 @@ $(OutFile): $(Objects)
echo "* Linking $@..."
$(LD) $(LDFLAGS) $^ -o $@
+Applets/%: Applets/%.o
+ echo "* Linking $@..."
+ $(LD) $(LDFLAGS) $^ -o $@ -Map $@.map
+
%.o: %.cpp
echo "* Compiling $<..."
$(CXX) $(CXXFLAGS) -c $< -o $@