Rev 8625 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8625 | Rev 8629 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | 7 | ||
8 | LIBC.A = $(LIB_DIR)/libc.a |
8 | LIBC.A = $(LIB_DIR)/libc.a |
Line 9... | Line 9... | ||
9 | LIBC.OBJ = $(LIB_DIR)/libc.obj |
9 | LIBC.OBJ = $(LIB_DIR)/libc.obj |
10 | 10 | ||
Line 11... | Line 11... | ||
11 | CFLAGS = -I$(INCLUDE) -m32 -nostdinc -nostdlib -DGNUC -Os -fno-common -fno-builtin -fno-leading-underscore -fno-pie |
11 | CFLAGS = -I$(INCLUDE) -m32 -nostdinc -nostdlib -DGNUC -Os -fno-common -fno-builtin -fno-leading-underscore -fno-pie |
12 | DIRS := string stdlib stdio sys math ctype exports setjmp |
12 | DIRS := string stdlib stdio sys math ctype exports setjmp shell_api |
13 | 13 | ||
Line 45... | Line 45... | ||
45 | $(RM) $(cfiles) $(asmfiles) |
45 | $(RM) $(cfiles) $(asmfiles) |
46 | $(RM) $(LIBNAME) |
46 | $(RM) $(LIBNAME) |
Line 47... | Line 47... | ||
47 | 47 | ||
48 | shared: $(cfiles) $(asmfiles) |
48 | shared: $(cfiles) $(asmfiles) |
49 | $(CLINK) $^ |
49 | $(CLINK) $^ |
50 | $(KPACK) a.out.obj |
50 | #$(KPACK) a.out.obj |
Line 51... | Line 51... | ||
51 | mv a.out.obj $(LIBC.OBJ) |
51 | mv a.out.obj $(LIBC.OBJ) |
52 | 52 | ||
53 | test: |
53 | test: |