Changeset 1356
- Timestamp:
- Jun 26, 2011 8:28:58 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/Makefile (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r1316 r1356 414 414 @printf "Checking for a C compiler... " 415 415 @$(shell ( echo "int main(int argc, char **argv)"; \ 416 echo "{ return 0; }"; ) > .test.c )416 echo "{ (void) argc; (void) argv; return 0; }"; ) > .test.c ) 417 417 @$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) .test.c -o .test$(EXEC_SUFFIX) >/dev/null && \ 418 418 echo "found." || ( echo "not found."; \ … … 428 428 echo "struct pci_access *pacc;"; \ 429 429 echo "int main(int argc, char **argv)"; \ 430 echo "{ pacc = pci_alloc(); return 0; }"; ) > .test.c )430 echo "{ (void) argc; (void) argv; pacc = pci_alloc(); return 0; }"; ) > .test.c ) 431 431 @$(CC) -c $(CPPFLAGS) $(CFLAGS) .test.c -o .test.o >/dev/null 2>&1 && \ 432 432 echo "found." || ( echo "not found."; echo; \ … … 470 470 echo "struct ftdi_context *ftdic = NULL;"; \ 471 471 echo "int main(int argc, char **argv)"; \ 472 echo "{ return ftdi_init(ftdic); }"; ) > .featuretest.c )472 echo "{ (void) argc; (void) argv; return ftdi_init(ftdic); }"; ) > .featuretest.c ) 473 473 @$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) .featuretest.c -o .featuretest$(EXEC_SUFFIX) $(FTDILIBS) $(LIBS) >/dev/null 2>&1 && \ 474 474 ( echo "found."; echo "FTDISUPPORT := yes" >> .features.tmp ) || \ … … 478 478 echo "struct utsname osinfo;"; \ 479 479 echo "int main(int argc, char **argv)"; \ 480 echo "{ uname (&osinfo); return 0; }"; ) > .featuretest.c )480 echo "{ (void) argc; (void) argv; uname (&osinfo); return 0; }"; ) > .featuretest.c ) 481 481 @$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) .featuretest.c -o .featuretest$(EXEC_SUFFIX) >/dev/null 2>&1 && \ 482 482 ( echo "found."; echo "UTSNAME := yes" >> .features.tmp ) || \ … … 491 491 echo "struct utsname osinfo;"; \ 492 492 echo "int main(int argc, char **argv)"; \ 493 echo "{ uname (&osinfo); return 0; }"; ) > .featuretest.c )493 echo "{ (void) argc; (void) argv; uname (&osinfo); return 0; }"; ) > .featuretest.c ) 494 494 @$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) .featuretest.c -o .featuretest$(EXEC_SUFFIX) >/dev/null 2>&1 && \ 495 495 ( echo "found."; echo "UTSNAME := yes" >> .features.tmp ) || \
Note: See TracChangeset
for help on using the changeset viewer.
