src -> $(SRC) in da makefile

This commit is contained in:
jacekpoz 2024-04-24 19:53:08 +02:00
parent cf110103ad
commit d2342cad28
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -31,7 +31,7 @@ dirs:
$(NAME): $(OBJ)
$(CXX) $(addprefix $(BIN)/, $^) $(LDFLAGS) -o $(BIN)/$@
%.o: src/%.cpp
%.o: $(SRC)/%.cpp
$(CXX) -c $< $(CXXFLAGS) -o $(BIN)/$@
clean: