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. ArchivesCategories |