I have two source files that contain routines I want in my .dll. I can build the .dll, but I have to do something like this:
#include <stdio.h>
#include "routines1.h"
#include "routines2.h"
#include "routines1.c"
#include "routines2.c"
This works, but it is very ugly and I am sure it must be wrong. I am more familiar with building libraries in Linux wherein adding files together is less problematic. I am working in C.