aboutsummaryrefslogtreecommitdiff
path: root/libgui
diff options
context:
space:
mode:
authorMarvin Borner2020-10-24 13:20:35 +0200
committerMarvin Borner2020-10-24 13:20:35 +0200
commitf0fe7c5ff003c714e76a7522967a0519a191cdf7 (patch)
tree517679e7b5227896732081961c37d4331507ee36 /libgui
parente5dd74563baf5b766b7bf226a0a42a661a14f974 (diff)
Forced ccache compilation
...and some fixes :)
Diffstat (limited to 'libgui')
-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 $@