diff options
author | Thomas White <taw27@cam.ac.uk> | 2009-03-04 17:05:42 +0000 |
---|---|---|
committer | Thomas White <taw27@cam.ac.uk> | 2009-03-04 17:05:42 +0000 |
commit | 244303f588f9c4797836e062d0576d85a027ab2a (patch) | |
tree | 250b936e2d82721759aa89d8f2ce35111b81d7e4 /Makefile |
Initial import
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3878741 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +triclinator: main.o crystal.o util.o + gcc main.o crystal.o util.o -o triclinator -lgsl -lgslcblas + +main.o: main.c + gcc -g -c -I/usr/include main.c -o main.o + +crystal.o: crystal.c + gcc -g -c -I/usr/include crystal.c -o crystal.o + +util.o: util.c + gcc -g -c -I/usr/include util.c -o util.o + +clean: + rm -f triclinator main.o crystal.o util.o + +.PHONY: clean |