![]() ![]() You don't have to use this structure (I don't for Makefile Projects) but To see how Eclipse builds one, add the "Hello World" project and build it. Your makefile was not generated by Eclipse. You will need to select and build this target every time. Which you can add with Window -> Show View -> Build Targets This enters the configuration directory (the current configuration name often Debug or Release)Įither change the first target name from "default" to "all" orĪdd "default" as a target using the "Target View" The bult-in target Eclipse uses is "all" so it calls make with In your case, the first target is "default" The way 'make' works from the command line (without any options) is toġ) find the proper make file (there is a standard order of names to choose) OBJ = libBasic.o libImage.o libImageFormatPM.o libHyperspectral.oĬould anyone please tell why it works in a terminal but not in eclipse ? LDFLAGS += $(CXXFLAGS) $(libdir) -lpng -ltiff -ljpeg -lfftw3 -lfftw3f -lfftw3l ![]() Libdir = -L/usr/local/lib/ #-L/usr/local/opt/jpeg/libĬFLAGS = -O3 -std=c99 $(hrdir) $(libdir) -fpermissiveĬOPT = -lm -O3 -funroll-loops -fomit-frame-pointer -ffast-math -ftree-vectorize -fpermissiveĬXXFLAGS += $(COPT) $(hdrdir) -pedantic -Wall -Wextra -Wno-write-strings -Wno-deprecated Hdrdir = -I/usr/local/include/ #-I/usr/local/opt/jpeg/include ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |