From ddec5c269b5cef7e4bb53dab036db6b313ede2e0 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 8 Jun 2015 22:40:43 +0100 Subject: [PATCH] cpp: build with -Os --- Applications/cpp/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Applications/cpp/Makefile b/Applications/cpp/Makefile index 5579d044..f7a8506f 100644 --- a/Applications/cpp/Makefile +++ b/Applications/cpp/Makefile @@ -20,6 +20,9 @@ all: cpp cpp: main.o cpp.o hash.o token1.o token2.o $(LINKER) -o $@ $(LINKER_OPT) $(CRT0) $(OBJS) +.c.o: + $(CC) $(CFLAGS) $(COPT) -c $< + clean realclean: rm -f cpp main.o cpp.o hash.o token1.o token2.o tmp.h *~ -- 2.34.1