Ignore:
Timestamp:
May 16, 2018, 8:31:35 PM (7 years ago)
Author:
satin@…
Message:

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/user/pgcd/Makefile

    r440 r444  
    1111OBJS = build/pgcd.o
    1212
    13 INCLUDES = -I. -I$(LIBC_INCLUDE)
     13INCLUDES = -I. -I$(LIBC_INCLUDE) -I$(LIBALMOSMKH_INCLUDE) -I$(SHARED_INCLUDE) -I$(LIBPTHREAD_INCLUDE)
    1414
    1515compile: dirs build/pgcd.elf
    1616
    1717build/pgcd.elf : $(OBJS) pgcd.ld
    18         $(LD) -o $@ -T pgcd.ld $(OBJS) -nostdlib -L$(LIBC) -lc
     18        $(LD) -o $@ -T pgcd.ld $(OBJS) -nostdlib -L$(LIBC) -L$(LIBALMOSMKH) -L$(LIBPTHREAD) -lalmos-mkh -lc -lalmos-mkh -lpthread -lc
    1919        $(DU) -D $@ > $@.txt
    2020
    2121build/pgcd.o : pgcd.c
    22         $(CC) $(INCLUDES) -L$(LIBC) $(CFLAGS) -c -o  $@ $<
     22        $(CC) $(INCLUDES) $(CFLAGS) -c -o  $@ $<
     23        $(DU) -D $@ > $@.txt
    2324
    2425dirs:
Note: See TracChangeset for help on using the changeset viewer.