![]() cu file to be compiled along with the others? Thanks again. Can you help me with what I need to add in order for the. Here is the original Makefile, the one that worked on the. cu file.Ĭan you please give me some hints on what might be wrong with my Makefile? I used as a reference the following Stackoverflow post: ![]() ![]() The problem with my Makefile is that when I do make in the it folder I get a bunch of errors that tell me that the file that has the main() function ( it.c in sourcedir folder) is not getting linked to any of the functions from other libraries. The structure of the project is as follows: #CFLAGS = -g -Wstrict-prototypes -Winline -Wall #-finline-functions -Winline -Wall -falign-loops=2 -falign-jumps=2 -falign-functions=2 -Wstrict-prototypes #CU_SOURCES = $(wildcard $(SOURCEDIR)/*.cu) #C_SOURCES = $(wildcard $(SOURCEDIR)/*.c) ![]() cu file to the project and now I want to modify the Makefile so that it compiles everything together. The original package was written entirely in C and had its own Makefile (it was perfectly working). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |