> If you want to migrate it to Objective-C, then rename your test.c file to > test.m, and slightly modify your GNUmakefile: > include $(GNUSTEP_MAKEFILES)/common.make > TOOL_NAME = test > test_OBJC_FILES = test.m > ADDITIONAL_OBJCFLAGS += $(shell mysql_config --cflags) > ADDITIONAL_TOOL_LIBS += $(shell mysql_config --libs) > include $(GNUSTEP_MAKEFILES)/tool.make > > It doesn't work > [...] > test.c:1:19: warning: mysql.h: No such file or directory > [...]
Something is going wrong here - it was supposed to be compiling test.m here, not test.c ;-) I suggest when you try to switch to Objective-C, create a new empty directory, and put only test.m and your GNUmakefile in there. Make sure to do all changes to the GNUmakefile, then try again. Let me know if that works :-) Thanks _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
