Fixed the visibility of the PREFIX value
This commit is contained in:
parent
1572b1c3d3
commit
0dfa56d38a
|
@ -33,7 +33,7 @@ c99.o: c99.c common.h code.h parser.h ../include/C99.h
|
|||
$(CC) $(c99_CFLAGS) -c c99.c
|
||||
|
||||
code.o: code.c ../include/C99/target.h code.h ../config.h
|
||||
$(CC) $(c99_CFLAGS) -c code.c
|
||||
$(CC) -D PREFIX=\"$(PREFIX)\" $(c99_CFLAGS) -c code.c
|
||||
|
||||
main.o: main.c ../include/C99.h ../config.h
|
||||
$(CC) $(c99_CFLAGS) -c main.c
|
||||
|
|
|
@ -17,6 +17,7 @@ depends=common.h,code.h,parser.h,../include/C99.h
|
|||
|
||||
[code.c]
|
||||
depends=../include/C99/target.h,code.h,../config.h
|
||||
cppflags=-D PREFIX=\"$(PREFIX)\"
|
||||
|
||||
[main.c]
|
||||
depends=../include/C99.h,../config.h
|
||||
|
|
Loading…
Reference in New Issue
Block a user