[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] nanosleep



On Sunday 20 January 2013 22:26:30 Peter Slegg wrote:

> It's probably the makefile I've created. I suspect I need to INCLUDE
> more:

I would rather say you probably need to include less.
 
> WARN = \
>     ###-Wall \
>     -Wmissing-prototypes \
>     -Wshadow \
>     -Wpointer-arith \
>     -Wcast-qual \
>     -Wimplicit-function-declaration  ###-Werror
> 
> INCLUDE = -I/usr/GEM/include
> 
> CFLAGS = $(INCLUDE) $(WARN) $(OPTS) $(DEFS)
> ASFLAGS = $(OPTS)
> LDFLAGS = -Wl -t
> LIBS = -L/usr/GEM/lib -lgem
> 
> OBJDIR = obj$(CPU:68%=.%)

I'm no expert at makefiles but I would loose the INCLUDE statement. On a 
standard Atari setup the gemlib should be installed in the standard 
/usr/include directory. I think you're actually restricting the search for 
include files to that directory.

Cheers,
JFL
-- 
Jean-François Lemaire