Advertisement
Dediggefedde

makefile for windows

Feb 19th, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 2.36 KB | None | 0 0
  1.  
  2. COMPILER_OPT = -O3
  3.  
  4. all: extract_timestamps
  5.  
  6. extract_timestamps: extract_timestamps.c collection.o filename_treatment.o basic_analysis.o  read_lecroy_file.o read_tek_file.o stamp_handling.o treat_lecroy_file.o treat_tek_file.o save_timestamps.o injection_statistics.o calc_time_stamp.o peak_finding.o get_timestamps.o time_ext.h -lm
  7.     gcc -lm -o extract_timestamps.exe basic_analysis.c calc_time_stamp.c collection.c extract_timestamps.c filename_treatment.c get_timestamps.c injection_statistics.c peak_finding.c read_lecroy_file.c read_tek_file.c save_timestamps.c stamp_handling.c treat_lecroy_file.c treat_tek_file.c  $(COMPILER_OPT)
  8.  
  9.  
  10. get_timestamps.o: get_timestamps.c time_ext.h
  11.     gcc $(COMPILER_OPT) -c get_timestamps.c -lm
  12.  
  13. peak_finding.o: peak_finding.c time_ext.h
  14.     gcc $(COMPILER_OPT) -c -o peak_finding.o peak_finding.c -lm
  15.  
  16. calc_time_stamp.o: calc_time_stamp.c time_ext.h
  17.     gcc $(COMPILER_OPT) -c -o calc_time_stamp.o calc_time_stamp.c -lm
  18.  
  19. injection_statistics.o: injection_statistics.c time_ext.h
  20.     gcc $(COMPILER_OPT) -c -o injection_statistics.o injection_statistics.c -lm
  21.  
  22. save_timestamps.o: save_timestamps.c time_ext.h
  23.     gcc $(COMPILER_OPT) -c -o save_timestamps.o save_timestamps.c -lm
  24.  
  25. filename_treatment.o: filename_treatment.c time_ext.h
  26.     gcc $(COMPILER_OPT) -c -o filename_treatment.o filename_treatment.c -lm
  27.  
  28. basic_analysis.o: basic_analysis.c time_ext.h
  29.     gcc $(COMPILER_OPT) -c -o basic_analysis.o basic_analysis.c -lm
  30.  
  31. collection.o: collection.c time_ext.h
  32.     gcc $(COMPILER_OPT) -c -o collection.o collection.c -lm
  33.  
  34. read_lecroy_file.o: read_lecroy_file.c time_ext.h
  35.     gcc $(COMPILER_OPT) -c -o read_lecroy_file.o read_lecroy_file.c -lm
  36.  
  37. read_tek_file.o: read_tek_file.c time_ext.h
  38.     gcc $(COMPILER_OPT) -c -o read_tek_file.o read_tek_file.c -lm
  39.  
  40. stamp_handling.o: stamp_handling.c time_ext.h
  41.     gcc $(COMPILER_OPT) -c -o stamp_handling.o stamp_handling.c -lm
  42.  
  43. treat_lecroy_file.o: treat_lecroy_file.c time_ext.h
  44.     gcc $(COMPILER_OPT) -c -o treat_lecroy_file.o treat_lecroy_file.c -lm
  45.  
  46. treat_tek_file.o: treat_tek_file.c time_ext.h
  47.     gcc $(COMPILER_OPT) -c -o treat_tek_file.o treat_tek_file.c -lm
  48.  
  49. clean:
  50.     delete filename_treatment.o basic_analysis.o collection.o read_lecroy_file.o stamp_handling.o treat_lecroy_file.o save_timestamps.o injection_statistics.o calc_time_stamp.o peak_finding.o extract_timestamps read_tek_file.o treat_tek_file.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement