Advertisement
Guest User

MakeFile

a guest
Sep 29th, 2012
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. # Makefile for sample programs
  2.  
  3. CC=gcc
  4. CFLAGS := -Wall -Wstrict-prototypes -O2 -I../../../include
  5.  
  6. 7256test: 7256test.o conio.o
  7. gcc -o 7256test -lpci_dask 7256test.o conio.o
  8.  
  9. 7256test.o: 7256test.c
  10. gcc -c $(CFLAGS) 7256test.c
  11.  
  12. conio.o: ../../conio/conio.c
  13. gcc -c $(CFLAGS) ../../conio/conio.c
  14.  
  15. clean:
  16. rm -f 7256test *.o *~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement