Synchronized dependencies with the code
This commit is contained in:
parent
7d93183a67
commit
77a77bc4ae
12
src/Makefile
12
src/Makefile
@ -24,22 +24,22 @@ c99_CFLAGS = $(CPPFLAGS) $(CFLAGSF) $(CFLAGS)
|
|||||||
c99: $(c99_OBJS)
|
c99: $(c99_OBJS)
|
||||||
$(CC) -o c99 $(c99_OBJS) $(LDFLAGSF) $(LDFLAGS)
|
$(CC) -o c99 $(c99_OBJS) $(LDFLAGSF) $(LDFLAGS)
|
||||||
|
|
||||||
c99.o: c99.c ../include/c99.h common.h
|
c99.o: c99.c common.h ../include/c99.h
|
||||||
$(CC) $(c99_CFLAGS) -c c99.c
|
$(CC) $(c99_CFLAGS) -c c99.c
|
||||||
|
|
||||||
code.o: code.c
|
code.o: code.c target/target.h code.h ../config.h
|
||||||
$(CC) $(c99_CFLAGS) -c code.c
|
$(CC) $(c99_CFLAGS) -c code.c
|
||||||
|
|
||||||
main.o: main.c ../include/c99.h
|
main.o: main.c ../include/c99.h ../config.h
|
||||||
$(CC) $(c99_CFLAGS) -c main.c
|
$(CC) $(c99_CFLAGS) -c main.c
|
||||||
|
|
||||||
parser.o: parser.c tokenset.h common.h
|
parser.o: parser.c tokenset.h scanner.h common.h ../include/c99.h ../config.h
|
||||||
$(CC) $(c99_CFLAGS) -c parser.c
|
$(CC) $(c99_CFLAGS) -c parser.c
|
||||||
|
|
||||||
scanner.o: scanner.c
|
scanner.o: scanner.c ../include/c99.h ../config.h
|
||||||
$(CC) $(c99_CFLAGS) -c scanner.c
|
$(CC) $(c99_CFLAGS) -c scanner.c
|
||||||
|
|
||||||
tokenset.o: tokenset.c ../include/c99.h common.h tokenset.h
|
tokenset.o: tokenset.c common.h ../include/c99.h tokenset.h
|
||||||
$(CC) $(c99_CFLAGS) -c tokenset.c
|
$(CC) $(c99_CFLAGS) -c tokenset.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@ -9,15 +9,22 @@ dist=Makefile,common.h,tokenset.h
|
|||||||
[c99]
|
[c99]
|
||||||
type=binary
|
type=binary
|
||||||
sources=c99.c,code.c,main.c,parser.c,scanner.c,tokenset.c
|
sources=c99.c,code.c,main.c,parser.c,scanner.c,tokenset.c
|
||||||
|
install=$(BINDIR)
|
||||||
|
|
||||||
[c99.c]
|
[c99.c]
|
||||||
depends=../include/c99.h,common.h
|
depends=common.h,../include/c99.h
|
||||||
|
|
||||||
|
[code.c]
|
||||||
|
depends=target/target.h,code.h,../config.h
|
||||||
|
|
||||||
[main.c]
|
[main.c]
|
||||||
depends=../include/c99.h
|
depends=../include/c99.h,../config.h
|
||||||
|
|
||||||
[parser.c]
|
[parser.c]
|
||||||
depends=tokenset.h,common.h
|
depends=tokenset.h,scanner.h,common.h,../include/c99.h,../config.h
|
||||||
|
|
||||||
|
[scanner.c]
|
||||||
|
depends=../include/c99.h,../config.h
|
||||||
|
|
||||||
[tokenset.c]
|
[tokenset.c]
|
||||||
depends=../include/c99.h,common.h,tokenset.h
|
depends=common.h,../include/c99.h,tokenset.h
|
||||||
|
Loading…
Reference in New Issue
Block a user