Skip to content
Snippets Groups Projects
Commit db3a2aea authored by n2-krishna's avatar n2-krishna
Browse files

Lab2 Make file

parent 993b5fe0
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,8 @@ OBJS= boot.o kernel.o
$(CC) -c -o $@ $< $(CFLAGS)
$(CDROM) : $(OSNAME) grub.cfg
cp $(OSNAME) isodir/boot/$(OSNAME)
cp grub.cfg isodir/boot/grub
cp $(OSNAME) isodir_boot/$(OSNAME)
cp grub.cfg isodir_boot/grub
grub-mkrescue -o $@ isodir
$(OSNAME) : $(OBJS)
......@@ -31,8 +31,8 @@ $(OSNAME) : $(OBJS)
.PHONY: clean
clean :
rm isodir/boot/$(OSNAME)
rm isodir/boot/grub/grub.cfg
rm isodir_boot/$(OSNAME)
rm isodir_boot/grub/grub.cfg
rm *.o
rm $(OSNAME)
rm $(CDROM)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment