aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLiu Aleaxander <Aleaxander@gmail.com>2009-05-19 16:09:37 +0800
committerLiu Aleaxander <Aleaxander@gmail.com>2009-05-19 16:09:37 +0800
commit88a72896dc32cc4a2a79b962af6b21ec5d442333 (patch)
treeb6869030be29b105edc4c5053de29c8f5fb1588a /Makefile
parentd79c1c9fc74b867b2a060f909b62cc7c1b7dfdac (diff)
downloaddevel-88a72896dc32cc4a2a79b962af6b21ec5d442333.tar.gz
devel-88a72896dc32cc4a2a79b962af6b21ec5d442333.tar.xz
devel-88a72896dc32cc4a2a79b962af6b21ec5d442333.zip
Finally, It can do some work.
yeah, It can compile correctly, but somehow with some bugs, like it can correctly open the /ldlinux.sys file. So I need do more debug tomorrow. What's make me happy is that it can handle long file name:), so it can work somehow.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 63b72cc..097a2c4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
+all:extlinux syslinux
+
+
extlinux:cache.h disklab.h ext2_fs.h
gcc -g cache.c main.c disklab.c extlinux.c -o extlinux
syslinux:cache.h disklab.h fat_fs.h
gcc -g main.c cache.c disklab.c ldlinux.c -o syslinux
clean:
- (rm -f *~ *.o) \ No newline at end of file
+ (rm -f *~ *.o syslinux) \ No newline at end of file