Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
32 user(s) are online (10 user(s) are browsing Forums)

Members: 0
Guests: 32

more...

Support us!

Recent OS4 Files
OS4Depot.net

Report message:*
 

Re: Porting to AmigaOS4 thread

Subject: Re: Porting to AmigaOS4 thread
by Raziel on 2019/7/29 13:23:08

Arrgh, i hate makefiles

I try to port a static library, but it seems i have only one stupid mistake in, since i can create the .a file, but it only consists of
Quote:

!<arch>

None of the needed source files are compiled in it seems, no matter what i try.

Here's the stripped down makefile, since i need to keep it as easy to understsnd as i can
allstaticlib.a

OBJ
:        lots.o of.o object.o files.o

staticlib
.a:        $(OBJ)
            
ar rcs staticlib.$(OBJ)

clean:
            
rm -*.*.a


Can someone please point out the obvious mistake?
I can't...

With the above makefile the source files are compiled, but the "ar" linker doesn't seem to pick them up. Why?

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project