build: correction erreur makefile
This commit is contained in:
parent
6cdfbcdd28
commit
c0b832ceed
|
@ -10,7 +10,7 @@ CHANGEPERM=chmod 644
|
||||||
all: libs.o
|
all: libs.o
|
||||||
sync
|
sync
|
||||||
|
|
||||||
togit: clean indent clean
|
togit: clean indent
|
||||||
|
|
||||||
libs.o:$(OBJS)
|
libs.o:$(OBJS)
|
||||||
$(LINK) libs.o $(OBJS)
|
$(LINK) libs.o $(OBJS)
|
||||||
|
@ -29,10 +29,13 @@ indent:
|
||||||
$(CHANGEPERM) *.c
|
$(CHANGEPERM) *.c
|
||||||
$(CONVERT) *.c
|
$(CONVERT) *.c
|
||||||
$(INDENT) *.c
|
$(INDENT) *.c
|
||||||
|
$(REMOVE) *.c~
|
||||||
$(CHANGEPERM) ./*/*.c
|
$(CHANGEPERM) ./*/*.c
|
||||||
$(CONVERT) ./*/*.c
|
$(CONVERT) ./*/*.c
|
||||||
$(INDENT) ./*/*.c
|
$(INDENT) ./*/*.c
|
||||||
|
$(REMOVE) */*.c~
|
||||||
$(CHANGEPERM) ../include/*.h
|
$(CHANGEPERM) ../include/*.h
|
||||||
$(CONVERT) ../include/*.h
|
$(CONVERT) ../include/*.h
|
||||||
$(INDENT) ../include/*.h
|
$(INDENT) ../include/*.h
|
||||||
|
$(REMOVE) ../include/*.h~
|
||||||
sync
|
sync
|
||||||
|
|
|
@ -11,7 +11,7 @@ CHANGEPERM=chmod 644
|
||||||
all: libs.a
|
all: libs.a
|
||||||
sync
|
sync
|
||||||
|
|
||||||
togit: clean indent clean
|
togit: clean indent
|
||||||
|
|
||||||
libs.a:libs.o
|
libs.a:libs.o
|
||||||
$(ARCH) $@ $^
|
$(ARCH) $@ $^
|
||||||
|
@ -32,7 +32,9 @@ indent:
|
||||||
$(CHANGEPERM) *.c
|
$(CHANGEPERM) *.c
|
||||||
$(CONVERT) *.c
|
$(CONVERT) *.c
|
||||||
$(INDENT) *.c
|
$(INDENT) *.c
|
||||||
|
$(REMOVE) *.c~
|
||||||
$(CHANGEPERM) ../include/*.h
|
$(CHANGEPERM) ../include/*.h
|
||||||
$(CONVERT) ../include/*.h
|
$(CONVERT) ../include/*.h
|
||||||
$(INDENT) ../include/*.h
|
$(INDENT) ../include/*.h
|
||||||
|
$(REMOVE) ../include/*.h~
|
||||||
sync
|
sync
|
||||||
|
|
|
@ -11,7 +11,7 @@ CHANGEPERM=chmod 644
|
||||||
all: lib/libs.a $(EXECS)
|
all: lib/libs.a $(EXECS)
|
||||||
sync
|
sync
|
||||||
|
|
||||||
togit: clean indent clean
|
togit: clean indent
|
||||||
|
|
||||||
lib/libs.a:
|
lib/libs.a:
|
||||||
make -C lib
|
make -C lib
|
||||||
|
@ -34,4 +34,5 @@ indent:
|
||||||
$(CHANGEPERM) *.c
|
$(CHANGEPERM) *.c
|
||||||
$(CONVERT) *.c
|
$(CONVERT) *.c
|
||||||
$(INDENT) *.c
|
$(INDENT) *.c
|
||||||
|
$(REMOVE) *.c~
|
||||||
sync
|
sync
|
||||||
|
|
|
@ -9,7 +9,7 @@ CHANGEPERM=chmod 644
|
||||||
all: system.sys
|
all: system.sys
|
||||||
sync
|
sync
|
||||||
|
|
||||||
togit: clean indent clean
|
togit: clean indent
|
||||||
|
|
||||||
system.sys: multiboot.o system.o ../lib/libs.o
|
system.sys: multiboot.o system.o ../lib/libs.o
|
||||||
$(LINK) system.sys multiboot.o system.o ../lib/libs.o
|
$(LINK) system.sys multiboot.o system.o ../lib/libs.o
|
||||||
|
@ -33,4 +33,5 @@ indent:
|
||||||
$(CHANGEPERM) *.c
|
$(CHANGEPERM) *.c
|
||||||
$(CONVERT) *.c
|
$(CONVERT) *.c
|
||||||
$(INDENT) *.c
|
$(INDENT) *.c
|
||||||
|
$(REMOVE) *.c~
|
||||||
sync
|
sync
|
||||||
|
|
Loading…
Reference in New Issue