blob: 3e2b0b2034aed3eead476e0a2f409f737bb730fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# MIT License, Copyright (c) 2020 Marvin Borner
COBJS = psf.o \
bmp.o \
png.o \
gfx.o \
gui.o \
msg.o
CC = ccache ../../cross/opt/bin/i686-elf-gcc
LD = ccache ../../cross/opt/bin/i686-elf-ld
AR = ccache ../../cross/opt/bin/i686-elf-ar
CFLAGS = $(CFLAGS_DEFAULT) -I../ -I../libc/inc/ -Duserspace
all: libgui
%.o: %.c
@$(CC) -c $(CFLAGS) $< -o $@
libgui: $(COBJS)
@mkdir -p ../../build/
@$(AR) rcs ../../build/libgui.a $+
clean:
@find . -name "*.o" -type f -delete
|