From: Alan Cox Date: Mon, 8 Jun 2015 21:40:43 +0000 (+0100) Subject: cpp: build with -Os X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ddec5c269b5cef7e4bb53dab036db6b313ede2e0;p=FUZIX.git cpp: build with -Os --- 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 *~