cextern/astrometry.net/Makefile
raw| 1 | |
| 2 | all: test_healpix |
| 3 | |
| 4 | OBJS = healpix-utils.o healpix.o starutil.o permutedsort.o mathutil.o bl.o qsort_reentrant.o |
| 5 | |
| 6 | HEADERS = healpix-utils.h healpix.h |
| 7 | |
| 8 | $(OBJS): %.o: %.c $(HEADERS) |
| 9 | $(CC) -o $@ -c $< |
| 10 | |
| 11 | %.o: %.c |
| 12 | $(CC) -o $@ -c $< |
| 13 | |
| 14 | test_healpix: test_healpix-main.c test_healpix.c $(OBJS) CuTest.o |
| 15 | |
| 16 | example: example.c $(OBJS) |