files
kolibrios/programs/develop/ktcc/lib/libshell/Makefile
Andrew f5ddbaa599
Some checks failed
Build system / Check kernel codestyle (pull_request) Successful in 22s
Build system / Build (pull_request) Failing after 26s
develop/ktcc: Post-SVN tidy
- Move source code from `trunk` into program root directory.
- Update build files and include paths.
- Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden.
2025-05-24 12:03:37 +01:00

26 lines
367 B
Makefile

CC = kos32-tcc
AR = ar
CFLAGS = -c -I../../libc.obj/include
LIB = libshell.a
OBJS = \
shell_exit.o \
shell_puts.o \
shell_get_pid.o \
shell_ping.o \
shell_getc.o \
shell_cls.o \
shell_init.o \
shell_gets.o \
shell_printf.o \
shell_putc.o
$(LIB): $(OBJS)
$(AR) -crs $@ $(OBJS)
%.o : %.c Makefile
$(CC) $(CFLAGS) -o $@ $<
clean:
rm -rf $(OBJS) $(LIB)