build: correction erreur makefile

This commit is contained in:
Nicolas Hordé 2018-12-12 12:37:19 +01:00
parent 6cdfbcdd28
commit c0b832ceed
4 changed files with 11 additions and 4 deletions

View File

@ -10,7 +10,7 @@ CHANGEPERM=chmod 644
all: libs.o
sync
togit: clean indent clean
togit: clean indent
libs.o:$(OBJS)
$(LINK) libs.o $(OBJS)
@ -29,10 +29,13 @@ indent:
$(CHANGEPERM) *.c
$(CONVERT) *.c
$(INDENT) *.c
$(REMOVE) *.c~
$(CHANGEPERM) ./*/*.c
$(CONVERT) ./*/*.c
$(INDENT) ./*/*.c
$(REMOVE) */*.c~
$(CHANGEPERM) ../include/*.h
$(CONVERT) ../include/*.h
$(INDENT) ../include/*.h
$(REMOVE) ../include/*.h~
sync

View File

@ -11,7 +11,7 @@ CHANGEPERM=chmod 644
all: libs.a
sync
togit: clean indent clean
togit: clean indent
libs.a:libs.o
$(ARCH) $@ $^
@ -32,7 +32,9 @@ indent:
$(CHANGEPERM) *.c
$(CONVERT) *.c
$(INDENT) *.c
$(REMOVE) *.c~
$(CHANGEPERM) ../include/*.h
$(CONVERT) ../include/*.h
$(INDENT) ../include/*.h
$(REMOVE) ../include/*.h~
sync

View File

@ -11,7 +11,7 @@ CHANGEPERM=chmod 644
all: lib/libs.a $(EXECS)
sync
togit: clean indent clean
togit: clean indent
lib/libs.a:
make -C lib
@ -34,4 +34,5 @@ indent:
$(CHANGEPERM) *.c
$(CONVERT) *.c
$(INDENT) *.c
$(REMOVE) *.c~
sync

View File

@ -9,7 +9,7 @@ CHANGEPERM=chmod 644
all: system.sys
sync
togit: clean indent clean
togit: clean indent
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
$(CONVERT) *.c
$(INDENT) *.c
$(REMOVE) *.c~
sync