mirror of
https://github.com/weiju/amiga-stuff
synced 2025-12-08 14:58:33 +00:00
added the libraries subproject
This commit is contained in:
23
libraries/example_lib/example/Makefile
Normal file
23
libraries/example_lib/example/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
CC = vc +aos68k
|
||||
CFLAGS = -O2 -+ -I$(NDK_INC) -DVBCC -c
|
||||
LDFLAGS = -nostdlib -lamiga
|
||||
LDLIBS =
|
||||
|
||||
OBJS = startup.o libinit.o libfuncs.o
|
||||
|
||||
all: example.library
|
||||
|
||||
clean:
|
||||
rm -f *.o example.library
|
||||
|
||||
example.library: $(OBJS)
|
||||
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)
|
||||
|
||||
startup.o: startup.c
|
||||
$(CC) $(CFLAGS) $^
|
||||
|
||||
libinit.o: libinit.c
|
||||
$(CC) $(CFLAGS) $^
|
||||
|
||||
libfuncs.o: libfuncs.c
|
||||
$(CC) $(CFLAGS) $^
|
||||
Reference in New Issue
Block a user