Skip to content
Snippets Groups Projects
Commit 5da1b6fc authored by antnh6@gmail.com's avatar antnh6@gmail.com
Browse files

fixed task-descriptor in libsrc Makefile

parent 7321b75e
No related branches found
No related tags found
1 merge request!16Withtime
......@@ -15,13 +15,13 @@ ASFLAGS = -mcpu=arm920t -mapcs-32
ARFLAGS = rcs
all: bwio.a scheduler.a taskdescriptor.a
all: bwio.a scheduler.a task-descriptor.a
scheduler.s: scheduler.c
$(XCC) -S $(CFLAGS) scheduler.c
taskdescriptor.s: task-descriptor.c
$(XCC) -S $(CFLAGS) task-descriptor.c
task-descriptor.s: task-descriptor.c
$(XCC) -S $(CFLAGS) task-descriptor.c
bwio.s: bwio.c
$(XCC) -S $(CFLAGS) bwio.c
......@@ -29,8 +29,8 @@ bwio.s: bwio.c
scheduler.o: scheduler.s
$(AS) $(ASFLAGS) -o scheduler.o scheduler.s
taskdescriptor.o: taskdescriptor.s
$(AS) $(ASFLAGS) -o taskdescriptor.o taskdescriptor.s
task-descriptor.o: task-descriptor.s
$(AS) $(ASFLAGS) -o task-descriptor.o task-descriptor.s
bwio.o: bwio.s
$(AS) $(ASFLAGS) -o bwio.o bwio.s
......@@ -38,15 +38,15 @@ bwio.o: bwio.s
scheduler.a: scheduler.o
$(AR) $(ARFLAGS) $@ scheduler.o
taskdescriptor.a: taskdescriptor.o
$(AR) $(ARFLAGS) $@ taskdescriptor.o
task-descriptor.a: task-descriptor.o
$(AR) $(ARFLAGS) $@ task-descriptor.o
bwio.a: bwio.o
$(AR) $(ARFLAGS) $@ bwio.o
install: bwio.a taskdescriptor.a scheduler.a
install: bwio.a task-descriptor.a scheduler.a
mv bwio.a ../../lib/libbwio.a
mv taskdescriptor.a ../../lib/libtaskdescriptor.a
mv task-descriptor.a ../../lib/libtaskdescriptor.a
mv scheduler.a ../../lib/libscheduler.a
clean:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment