diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-10-13 21:00:07 -0600 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-10-13 21:00:07 -0600 |
commit | d21a7de801b4a326001e45c0d26826e9ab53589b (patch) | |
tree | 314c35f77473b651f4a2f79395769595ddb9dd6c /Makefile | |
parent | cae58e90e0a2f19aa9a01177ef1707904f22c64c (diff) | |
download | cmath-d21a7de801b4a326001e45c0d26826e9ab53589b.tar.gz cmath-d21a7de801b4a326001e45c0d26826e9ab53589b.zip |
hw 4
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,7 +21,7 @@ all: $(TEST_EXE) $(TEST_EXE): $(BIN_DIR) | $(LIBRARY) $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(TEST_SRC) $(LIBRARY) -o $@ -$(LIBRARY): $(OBJ) +$(LIBRARY): $(OBJ) | $(LIB_DIR) ar rcs $(LIBRARY) $(OBJ_DIR)/*.o ranlib $(LIBRARY) @@ -32,6 +32,6 @@ $(BIN_DIR) $(OBJ_DIR) $(LIB_DIR): mkdir -p $@ clean: - @$(RM) -r $(BIN_DIR) $(OBJ_DIR) + @$(RM) -r $(BIN_DIR) $(OBJ_DIR) $(LIB_DIR) -include $(OBJ:.o=.d) |