Pawel Netzel - software
Repositories
Help
Report an Issue
plForestFragment
Code
Commits
Branches
Tags
Search
Tree:
78c1c96
Branches
Tags
master
plForestFragment
Makefile
Minor changes in makefile(s)
netzel
commited
78c1c96
at 2024-05-16 14:28:26
Makefile
Blame
History
Raw
PROG = plforestfragment CC = gcc CFLAGS=-Wall -fopenmp -O3 -msse2 -mfpmath=sse -Wl,-rpath,'$$ORIGIN/' -I/usr/include/gdal LIBFLAGS = -lgomp -lgdal -lezgdal -largtable3 -lm COMMON_C = $(shell ls *.c) COMMON_C_O = $(COMMON_C:%.c=%.o) ifndef PREFIX PREFIX = /usr/local endif default: $(PROG) $(PROG): $(COMMON_C_O) $(CC) $(CFLAGS) -o $(PROG) $(COMMON_O) $(COMMON_C_O) $(LIBFLAGS) $(COMMON_C_O): $(COMMON_C) $(CC) $(CFLAGS) -c $(COMMON_C) $(LIBFLAGS) install: cp -f $(PROG) $(PREFIX)/bin clean: rm -f *.o $(PROG)