summaryrefslogtreecommitdiff
path: root/Source/Applications/ASMApps/Makefile
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-17 23:22:41 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-17 23:22:41 +0200
commit7dc8c19f7d6220c9e3dac43796faf77c4f11974f (patch)
tree7a63b88ed80583198776ce706f85d528eff28b16 /Source/Applications/ASMApps/Makefile
parente35e95188674ae4802df2a511825218253d01d2c (diff)
downloadMelon-7dc8c19f7d6220c9e3dac43796faf77c4f11974f.tar.gz
Melon-7dc8c19f7d6220c9e3dac43796faf77c4f11974f.zip
Melon now loads a simple ASM application out of the ramfs
The format is very simple, but an ELF loader is planned.
Diffstat (limited to 'Source/Applications/ASMApps/Makefile')
-rw-r--r--Source/Applications/ASMApps/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Source/Applications/ASMApps/Makefile b/Source/Applications/ASMApps/Makefile
new file mode 100644
index 0000000..8cc8bfd
--- /dev/null
+++ b/Source/Applications/ASMApps/Makefile
@@ -0,0 +1,20 @@
+.PHONY: clean, mrproper
+
+ASM = nasm
+
+Applications = test
+
+all: $(Applications)
+ echo "* Done with ASM applications : $(Applications)"
+
+rebuild: mrproper all
+
+%: %.asm
+ echo "* Compiling $<..."
+ $(ASM) -o $@ $<
+
+clean:
+ echo "* Removing files..."
+ rm -rf $(Applications)
+
+mrproper: clean