aboutsummaryrefslogtreecommitdiff
path: root/libgui/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libgui/Makefile')
-rw-r--r--libgui/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libgui/Makefile b/libgui/Makefile
index 67625e2..29c8db4 100644
--- a/libgui/Makefile
+++ b/libgui/Makefile
@@ -3,13 +3,13 @@
COBJS = psf.o \
bmp.o \
gui.o
-CC = ../cross/opt/bin/i686-elf-gcc
-LD = ../cross/opt/bin/i686-elf-ld
-AR = ../cross/opt/bin/i686-elf-ar
+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 = -Wall -Wextra -nostdlib -nostdinc -fno-builtin -mgeneral-regs-only -std=c99 -m32 -pedantic-errors -Iinc/ -I../libc/inc/ -fPIE -Duserspace -Ofast
-all: libgui clean
+all: libgui
%.o: %.c
@$(CC) -c $(CFLAGS) $< -o $@