move makefile to root, also files can't have spaces in them (lame)
This commit is contained in:
parent
94f7a90a82
commit
a38070afdd
3 changed files with 2 additions and 2 deletions
|
@ -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
|
Loading…
Reference in a new issue