Fixed the visibility of the PREFIX value

This commit is contained in:
Pierre Pronchery 2013-01-04 00:50:43 +01:00
parent 1572b1c3d3
commit 0dfa56d38a
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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