From: | Peter Annuss |
Date: | 24 Apr 2000 at 07:59:00 |
Subject: | Re: MiniGL and gcc |
Hi Antonio
> This is my Makefile :
>
> TARGET = test
>
> LOPTS = -m68030 -m68881 -noixemul -lamiga -lmgl -lstdc++
>
> OBJS = test.o
>
> test : $(OBJS)
> gcc $(LOPTS) $(OBJS) -o $(TARGET)
>
> test.o : stardrive.cpp
> gcc -c stardrive.cpp
In the linker call you have to place the linklibs behind your object
files, otherwise the symbols won't get resolved.
Kind Regards
Peter Annuss