From cd468839da6ab27c3be575606c614cc7d1f7cab0 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sat, 29 Apr 2023 18:34:26 -0400 Subject: [PATCH] step: get working hello world with make --- lisp | Bin 0 -> 3052 bytes lisp.c | 0 makefile | 4 ++-- src/lisp.c | 6 ++++++ 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100755 lisp delete mode 100644 lisp.c create mode 100644 src/lisp.c diff --git a/lisp b/lisp new file mode 100755 index 0000000000000000000000000000000000000000..37a4ec9b04e6429b55cdf5dcd1532dbcad4376d6 GIT binary patch literal 3052 zcmbtW-D@0G6hFJ0P2xu<(MDKkFzZ8c`;bX0Y1lqQW}M$wP4!GB-u0zo82%o zi%CUPR>dJkgD<|OZ}}5^QL7QeH+`sxRun(5N|fRUgko9GxpPjuS?f!CVdrpWH}i}Q^^xxw^N(U6(I`_^ub{uI*UI?dkB-BV2+0t?BKWz zBK6O)|6D533HEcGAcyJNDBr)$;ckM8oq_;)?I%6eD!j_hYF`^)nBU4Id|7(|ip)2dKgRqRVxId4!1Hhx^IjPFLF6s_l^U!xq7ay# z4;$WMrB*R*G$YWFo_BG%USq8XG!V^x6cfmWZzApDE|2RWvuHR%Kym@ z0L8mcmo~(PW4BauxBL2|Xs8cvWuk%OU-b;U zNMn@Z-%Igt6Y)=OtM41t+)1gEUpIbH&5ydDIq%N6=iLjgx3jot_YAyD;W{6t#n&KN zg+9%qed$R^t@fsl+~3u`iD`(}?`Esj8lsqqE}D+!3EShzDe>lh{NMN!MtqqDJZ1I1 znVzz8Z)7H|{6@#5Rd_u+VGY09sjOnN>j}%LSw+_xcCEs=l^?fq<5usu)vfDUKzRY{ zH1pEB(weFD?8y|a`zu$Xbn8=EmmR$Z+NUi_4$wOBCEzX|y@pS1AH9jaB^vVQZ*gqm zRJmHM=bxx;u)3Cd)8eh~O;iA(wvApJ@$DhDe#_*yMoTTU1pSzPOwQFXOpgooQLB3V;4b$h_5Xt@vMdy(AQ1r6T5eIH_V1}`S zQTDHjHu*#^=cboKCdih4?IvnlIae-2&NW>N#KnLli{ygjR z9Pot*8RdNvn!cB2{d=t6WBm~cWR$!@(>-bG`?8L9_3_1YNCFw#^(T-w>o2grU|wv- z813~>+@=2XUFzRrz3hK`{dx48P3o6*p!<&IFYkx^ca#5gbmq(^df_f%hjNQv?mqc% zx5a_tm%MTgo9H+5L+5Ow;0Y<#3rKz$hxV5^8DFtp$%2TGQS?H;ZD@rf6#ZqB#6Hz( GwtoPgVJFl8 literal 0 HcmV?d00001 diff --git a/lisp.c b/lisp.c deleted file mode 100644 index e69de29..0000000 diff --git a/makefile b/makefile index 809fe05..0b24ede 100644 --- a/makefile +++ b/makefile @@ -9,14 +9,14 @@ CC=tcc # much faster compilation than gcc ## Main file -SRC=lisp.c +SRC=./src/lisp.c ## Formatter STYLE_BLUEPRINT=webkit FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT) build: $(SRC) - $(cc) $(src) -o lisp + $(CC) $(SRC) -o lisp format: $(SRC) $(FORMATTER) $(SRC) diff --git a/src/lisp.c b/src/lisp.c new file mode 100644 index 0000000..6310cd9 --- /dev/null +++ b/src/lisp.c @@ -0,0 +1,6 @@ +#include + +int main(int argc, char** argv){ + puts("Hello world!"); + return 0; +}