Move everything to src/ folder

This commit is contained in:
2026-02-04 19:29:04 +00:00
parent 7f8412fe5a
commit 7aae45e9c4
9 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ CC=cc
DIST=build DIST=build
OUT=$(DIST)/alisp.out OUT=$(DIST)/alisp.out
UNITS=main.c $(shell find ./runtime -type 'f') UNITS=$(shell find ./src -type 'f')
OBJECTS:=$(patsubst %.c, $(DIST)/%.o, $(UNITS)) OBJECTS:=$(patsubst %.c, $(DIST)/%.o, $(UNITS))
LDFLAGS= LDFLAGS=
@@ -29,11 +29,10 @@ $(DIST)/%.o: %.c | $(DIST) $(DEPDIR)
$(CC) $(CFLAGS) $(DEPFLAGS) $(DEPDIR)/$*.d -c -o $@ $< $(CC) $(CFLAGS) $(DEPFLAGS) $(DEPDIR)/$*.d -c -o $@ $<
$(DIST): $(DIST):
mkdir -p $(DIST) $(DIST)/runtime mkdir -p $(DIST)/src
$(DEPDIR): $(DEPDIR):
mkdir -p $(DEPDIR) mkdir -p $(DEPDIR)/src
mkdir -p $(DEPDIR)/runtime
clangd: compile_commands.json clangd: compile_commands.json
compile_commands.json: Makefile compile_commands.json: Makefile

View File