|
|
@ -53,7 +53,7 @@ CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 & |
|
|
|
else |
|
|
|
HOSTCC := clang |
|
|
|
HOSTCFLAGS := -g -Wall -O2 |
|
|
|
CC := $(GCCPREFIX)clang |
|
|
|
CC := clang |
|
|
|
CFLAGS := -fno-builtin -Wall -g -m32 -mno-sse -nostdinc $(DEFS) |
|
|
|
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector) |
|
|
|
endif |
|
|
@ -369,7 +369,7 @@ print-%: |
|
|
|
.PHONY: clean dist-clean handin packall tags |
|
|
|
clean: |
|
|
|
$(V)$(RM) $(GRADE_GDB_IN) $(GRADE_QEMU_OUT) $(SFSBINS) cscope* tags |
|
|
|
-$(RM) -r $(OBJDIR) $(BINDIR) |
|
|
|
$(V)$(RM) -r $(OBJDIR) $(BINDIR) $(SFSROOT) |
|
|
|
|
|
|
|
dist-clean: clean |
|
|
|
-$(RM) $(HANDIN) |
|
|
|