author | A.M. Thurnherr <athurnherr@yahoo.com> |
Mon, 23 Feb 2015 09:19:46 +0000 | |
changeset 15 | 3746197831db |
permissions | -rw-r--r-- |
# For using the debian (ubuntu) mingw cross compiler package # to compile a windows executable. # There is no install target. # *.o is removed before and after running make, # to avoid conflicts with the normal non-cross make CC=i586-mingw32msvc-gcc all: clean magdec.exe magdec.exe: geomag_calc.o magdec.o Makefile.mingw32cross igrf11.h $(CC) -o $@ geomag_calc.o magdec.o -lm $(RM) *.o clean: $(RM) *.o