Pawel Netzel - software
Repositories
Help
Report an Issue
plDarkSky
Code
Commits
Branches
Tags
Search
Tree:
96b390d
Branches
Tags
master
plDarkSky
Makefile.win
Minor changes in makefile(s)
netzel
commited
96b390d
at 2024-05-16 14:28:21
Makefile.win
Blame
History
Raw
PROG = pldarksky.exe CC = x86_64-w64-mingw32-gcc CFLAGS= -I../../Win64_cross/gdal/include -I../../Win64_cross/ezgdal -I../../Win64_cross/argtable3 -L../../Win64_cross/argtable3 -L../../Win64_cross/gdal/bin -L../../Win64_cross/ezgdal -Wall -O3 -fopenmp -msse2 -mfpmath=sse LIBFLAGS = -lgdal -llibezgdal -llibargtable3 -lm COMMON_C = $(shell ls *.c) COMMON_C_O = $(COMMON_C:%.c=%.o) HEADERS = $(shell ls *.h) default: $(PROG) $(PROG): $(COMMON_C_O) $(HEADERS) $(CC) $(CFLAGS) -o $(PROG) $(COMMON_C_O) $(LIBFLAGS) $(COMMON_C_O): $(COMMON_C) $(HEADERS) $(CC) $(CFLAGS) -c $(COMMON_C) $(LIBFLAGS) clean: rm -f *.o $(PROG)