summaryrefslogtreecommitdiff
path: root/Source/Applications/SampleApps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Applications/SampleApps/Makefile')
-rw-r--r--Source/Applications/SampleApps/Makefile35
1 files changed, 0 insertions, 35 deletions
diff --git a/Source/Applications/SampleApps/Makefile b/Source/Applications/SampleApps/Makefile
deleted file mode 100644
index 05f79b1..0000000
--- a/Source/Applications/SampleApps/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-.PHONY: clean, mrproper
-
-ASM = nasm
-ASMFLAGS = -f bin
-
-CXX = g++
-CXXFLAGS = -nostartfiles -nostdlib -ffreestanding -fno-exceptions -fno-rtti -I ../../Library/Common -I ../../Library/Interface -I ../../Library/Userland -D THIS_IS_MELON_USERLAND
-
-LD = ld
-LDFLAGS = -T ../../Library/Link.ld -L ../../Library
-
-Applications = asmdemo cxxdemo
-
-all: $(Applications)
- echo "* Done with applications : $(Applications)"
-
-rebuild: mrproper all
-
-%: %.cpp
- echo "* Compiling $<..."
- $(CXX) $(CXXFLAGS) -c $< -o $@.o
- echo "* Linking $@.o..."
- $(LD) $(LDFLAGS) $@.o -o $@
-
-%: %.asm
- echo "* Compiling $<..."
- $(ASM) $(ASMFLAGS) -o $@ $<
-
-clean:
- echo "* Removing object files..."
- rm -rf *.o
-
-mrproper: clean
- echo "* Removing applications..."
- rm -rf $(Applications)