1
0
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:
Wei-ju Wu
2016-06-15 10:33:09 -07:00
parent 9b22fcb802
commit 7f15fd6575
20 changed files with 609 additions and 1 deletions

View 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) $^