move makefile to root, also files can't have spaces in them (lame)

This commit is contained in:
Parker Macdonald 2024-12-07 17:46:46 -07:00
parent 94f7a90a82
commit a38070afdd
3 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
# select all cpp files, for future use
SRC := ${wildcard *.c}
SRC := ${shell find ./ -name "*.c"}
BIN := $(SRC:.c=)
# -pedantic means using gnu extentions will throw an error
@ -33,6 +33,6 @@ all: $(BIN)
$(CC) $(CFLAGS) $(CFLAGS_ERRORS) $(LDFLAGS) -o $@ $^
clean:
$(DEL) $(TARGET) $(OBJ)
rm $(BIN)
.PHONY: clean