summaryrefslogtreecommitdiff
path: root/kernel/GDT/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/GDT/Makefile')
-rw-r--r--kernel/GDT/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/kernel/GDT/Makefile b/kernel/GDT/Makefile
index 6e1b2c8..b4a9400 100644
--- a/kernel/GDT/Makefile
+++ b/kernel/GDT/Makefile
@@ -1,5 +1,15 @@
-gdt.o: gdt.cpp
- g++ -m32 -c -o gdt.o gdt.cpp
+EXEC=gdt.o
+
+all:$(EXEC)
+
+#----- GDT -----
+$(EXEC): gdt.cpp
+ $(CXX) -c -o $(EXEC) gdt.cpp
+#---------------
+
+
+#----- Other -----
clean:
rm *.o
+#----------------