Compare commits
3 Commits
6d507e239c
...
fda4a63732
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fda4a63732 | ||
|
|
64fe3fc112 | ||
|
|
76872179f9 |
4
Makefile
4
Makefile
@@ -8,7 +8,7 @@ UNITS=main lib/vec lib/sv parser/ast parser/parser
|
||||
OBJECTS:=$(patsubst %,$(DIST)/%.o, $(UNITS))
|
||||
|
||||
LDFLAGS=
|
||||
GFLAGS=-Wall -Wextra -Wpedantic -std=c23 -I./src/
|
||||
GFLAGS=-Wall -Wextra -Wpedantic -std=c23 -I./include/
|
||||
DFLAGS=-ggdb -fsanitize=address -fsanitize=undefined
|
||||
RFLAGS=-O3
|
||||
|
||||
@@ -26,7 +26,7 @@ DEPDIR=$(DIST)/deps
|
||||
$(OUT): $(OBJECTS) | $(DIST)
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
$(DIST)/%.o: src/arl/%.c | $(DIST) $(DEPDIR)
|
||||
$(DIST)/%.o: src/%.c | $(DIST) $(DEPDIR)
|
||||
$(CC) $(CFLAGS) $(DEPFLAGS) $(DEPDIR)/$*.d -c -o $@ $<
|
||||
|
||||
$(DIST):
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Created: 2026-01-22
|
||||
* Author: Aryadev Chavali
|
||||
* License: See end of file
|
||||
* Commentary: See /include/sv.h
|
||||
* Commentary: See /include/arl/lib/sv.h
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
@@ -1,4 +1,4 @@
|
||||
/* main.cpp:
|
||||
/* main.c:
|
||||
* Created: 2026-01-22
|
||||
* Author: Aryadev Chavali
|
||||
* License: See end of file
|
||||
@@ -2,7 +2,7 @@
|
||||
* Created: 2026-01-22
|
||||
* Author: Aryadev Chavali
|
||||
* License: See end of file
|
||||
* Commentary: See ast.h.
|
||||
* Commentary: See /include/arl/parser/ast.h.
|
||||
*/
|
||||
|
||||
#include <arl/lib/base.h>
|
||||
@@ -2,7 +2,7 @@
|
||||
* Created: 2026-01-22
|
||||
* Author: Aryadev Chavali
|
||||
* License: See end of file
|
||||
* Commentary: See parser.h
|
||||
* Commentary: See /include/arl/parser/parser.h
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
Reference in New Issue
Block a user