From f590ac14a7da6f8c400dd5b5c0cfa91bb289c99d Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Mon, 17 Sep 2018 11:16:16 +0200 Subject: Add my_basic-git. --- my_basic-git/my_basic-makefile.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 my_basic-git/my_basic-makefile.patch (limited to 'my_basic-git/my_basic-makefile.patch') diff --git a/my_basic-git/my_basic-makefile.patch b/my_basic-git/my_basic-makefile.patch new file mode 100644 index 0000000..2350775 --- /dev/null +++ b/my_basic-git/my_basic-makefile.patch @@ -0,0 +1,22 @@ +diff -u -r -N my_basic/makefile my_basic-makefile/makefile +--- my_basic/makefile 2018-08-28 20:17:25.725132293 +0200 ++++ my_basic-makefile/makefile 2018-08-28 20:32:42.807023449 +0200 +@@ -1,3 +1,5 @@ ++CFLAGS=-Os ++ + OS := $(shell uname -s) + IS_APPLE := $(shell echo $(OS)|grep -i darwin) + +@@ -10,10 +12,10 @@ + endif + + main.o : shell/main.c core/my_basic.h +- cc -Os -c shell/main.c -Wno-unused-result ++ cc $(CFLAGS) -c shell/main.c -Wno-unused-result + + my_basic.o : core/my_basic.c core/my_basic.h +- cc -Os -c core/my_basic.c -Wno-multichar -Wno-overflow -Wno-unused-result ++ cc $(CFLAGS) -c core/my_basic.c -Wno-multichar -Wno-overflow -Wno-unused-result + + clean : + rm -f main.o my_basic.o output/my_basic_bin output/my_basic_bin.exe -- cgit v1.2.3-70-g09d2