diff options
| author | Lorenzo Torres <lorenzotorres@outlook.it> | 2026-06-16 14:05:40 +0200 |
|---|---|---|
| committer | Lorenzo Torres <lorenzotorres@outlook.it> | 2026-06-16 14:05:40 +0200 |
| commit | 163664d2065cc2e8c61a25db1537934315b286cb (patch) | |
| tree | d65b2fec3ae79218017b74fc15e5e7dbad1596d0 | |
| parent | 6c9d0f7fad1d96796efef43a6db7eef6df8de054 (diff) | |
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | parser.c | 1 | ||||
| -rw-r--r-- | parser.h | 1 | ||||
| -rw-r--r-- | xcc.c (renamed from lc.c) | 0 |
5 files changed, 5 insertions, 5 deletions
@@ -1,2 +1,2 @@ **/*.o -lc +xcc @@ -1,17 +1,17 @@ include config.mk -SRC:=lc.c\ +SRC:=xcc.c\ lexer.c\ parser.c OBJ:=$(SRC:.c=.o) all: $(OBJ) - $(CC) $(OBJ) -o lc + $(CC) $(OBJ) -o xcc %.o: %.c $(CC) $(CFLAGS) -c $< -o $@ .PHONY: clean clean: - @rm -rfv $(OBJ) lc + @rm -rfv $(OBJ) xcc @@ -1,5 +1,4 @@ #include "parser.h" -#include "lexer.h" #include <stdio.h> #include <stdlib.h> @@ -3,6 +3,7 @@ #include <stdint.h> #include <stddef.h> +#include "lexer.h" typedef enum { NODE_START, |
