Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
723067f
introduce FrozenKeyIdxBiMap data structure
mabruzzo Nov 19, 2025
cdecbb5
address clang-tidy issues
mabruzzo Nov 19, 2025
ce3c404
a few minor tweaks
mabruzzo Nov 19, 2025
660431f
Refactor for consistency with other internal types
mabruzzo Nov 19, 2025
1f42941
restore clang-tidy setting from a few commits back
mabruzzo Nov 19, 2025
a6aa793
apply clang-format
mabruzzo Nov 19, 2025
19d4f7e
a minor tweak to rerun CI
mabruzzo Nov 19, 2025
9d2b9cf
convert interp_table_utils.{h->hpp}
mabruzzo Dec 8, 2025
d7727b3
apply clang-format to src/clib/interp_table_utils.hpp
mabruzzo Dec 8, 2025
0cd4082
shift 2 functions out of src/clib/initialize_chemistry_data into inte…
mabruzzo Dec 8, 2025
fc6983d
Merge branch 'ncc/FrozenKeyIdxBiMap' into ncc/GrainMetalInjectPathways
mabruzzo Dec 8, 2025
44438b7
Begin introducing GrainMetalInjectPathways
mabruzzo Nov 5, 2025
dac21ea
an incremental step towards adopting GrainMetalInjectPathways
mabruzzo Nov 6, 2025
43e2464
another step
mabruzzo Nov 6, 2025
e67ee1b
transition to using grain_yields stored within GrainMetalInjectPathways
mabruzzo Nov 6, 2025
40031e6
calc_grain_size_increment_species_1d: comment the code and add a very…
mabruzzo Nov 12, 2025
55aa77a
remove some commented out debugging code from calc_grain_size_increme…
mabruzzo Nov 12, 2025
97f90d5
minor tweaks
mabruzzo Nov 12, 2025
c1a54e3
add more commentary to calc_grain_size_increment_1d
mabruzzo Nov 14, 2025
2a1a6d5
spruce up some commentary
mabruzzo Nov 14, 2025
a92e11d
add some commentary explaining how calc_tdust_1d_g.F actually works
mabruzzo Nov 14, 2025
d251a23
lay ground work for size_moments
mabruzzo Nov 14, 2025
024c0da
incremental commit
mabruzzo Nov 15, 2025
2a56c85
light refactoring
mabruzzo Dec 5, 2025
74ded6e
shift around some files
mabruzzo Dec 5, 2025
ffe87a5
move some machinery out of initialize_dust_yields.cpp
mabruzzo Dec 5, 2025
be60a50
incremental progress
mabruzzo Dec 5, 2025
08ecd6b
Major progress in restructuring format of injection pathway raw data
mabruzzo Dec 6, 2025
22c981d
confirm new src for total nuclide yields is correct
mabruzzo Dec 6, 2025
29b6028
confirm new src for gas nuclide yields is correct
mabruzzo Dec 6, 2025
5b1f50b
finish transition to newer datasource for metal nuclide yields
mabruzzo Dec 6, 2025
29f04c2
pull out zeroing logic (inject-rates) 1 of 2
mabruzzo Dec 6, 2025
0b95a9c
pull out zeroing logic (inject-rates) 2 of 2
mabruzzo Dec 6, 2025
ff118a5
add temporary machinery in preparation for transition in grain data s…
mabruzzo Dec 6, 2025
0b74a6b
fixed a major error in the reformated tables of injection model data …
mabruzzo Dec 6, 2025
53e79fd
A little more work on the machinery between the new and the old injec…
mabruzzo Dec 6, 2025
9871e85
another check of correctness
mabruzzo Dec 6, 2025
6eb164e
remove the older injection model data organization
mabruzzo Dec 6, 2025
8af2e5e
finish replacing my_rates->SN0_[fX]<metal-nuclide>
mabruzzo Dec 7, 2025
7a61b34
incremental commit
mabruzzo Dec 7, 2025
d5cac76
rm erroneous docstring comment
mabruzzo Dec 8, 2025
1d49a42
introduce all remaining members GrainMetalInjectPathways (they aren't…
mabruzzo Dec 8, 2025
4766aa7
a large step towards changing how opacity coefficients get stored
mabruzzo Dec 8, 2025
6468b3b
another massive step towards removing SN0_kp<grain> and SN0_r0<grain>
mabruzzo Dec 8, 2025
4eee4ee
finish removing SN0_kp<grain> and SN0_r0<grain>
mabruzzo Dec 8, 2025
762e53c
remove SN0_f<grain-species>
mabruzzo Dec 8, 2025
57caed7
remove gr_dT
mabruzzo Dec 8, 2025
d0a3748
Some steps towards removing gr_N and gr_Size
mabruzzo Dec 9, 2025
30fee62
finish removing gr_N and gr_Size
mabruzzo Dec 9, 2025
b9f7893
remove SN0_N
mabruzzo Dec 9, 2025
8dccc0e
remove gr_Td
mabruzzo Dec 9, 2025
24748cb
tweak signature of f_wrap::calc_grain_size_increment_1d
mabruzzo Dec 9, 2025
3825dc7
tweak signature of make_consistent
mabruzzo Dec 9, 2025
bb6cec6
delete grackle::impl::free_dust_yields
mabruzzo Dec 9, 2025
9e9bcfd
slightly simplify zero-out logic
mabruzzo Dec 9, 2025
b79ba75
start using FrozenKeyIdxBiMap for model names
mabruzzo Dec 9, 2025
51610dd
lightly refactor loading of metal nuclide yields
mabruzzo Dec 9, 2025
24ff4ce
confirm that just loading the relevant dust species produces the corr…
mabruzzo Dec 9, 2025
6f913fa
Merge branch 'ncc/FrozenKeyIdxBiMap' into ncc/refactor-GrainSpeciesInfo
mabruzzo Dec 9, 2025
18020b6
use FrozenKeyIdxBiMap within GrainSpeciesInfo (1/3)
mabruzzo Dec 10, 2025
00865dd
use FrozenKeyIdxBiMap within GrainSpeciesInfo (2/3)
mabruzzo Dec 10, 2025
fa08c26
use FrozenKeyIdxBiMap within GrainSpeciesInfo (3/3)
mabruzzo Dec 10, 2025
899f4a2
Merge branch 'ncc/refactor-GrainSpeciesInfo' into ncc/GrainMetalInjec…
mabruzzo Dec 10, 2025
89f3f35
switch to using a map of grain species
mabruzzo Dec 10, 2025
45d2d14
add a few comments and a little assorted refactoring
mabruzzo Dec 10, 2025
d0d8a92
rename initialize_dust_yields -> load_data
mabruzzo Dec 10, 2025
51a5573
some light cleanup of inject_model/load_data.cpp
mabruzzo Dec 10, 2025
947faab
apply clang-format
mabruzzo Dec 10, 2025
d8137d6
update Makefile to remove object files in subdirectories
mabruzzo Dec 10, 2025
eca5fb0
another tweak to `make clean`
mabruzzo Dec 10, 2025
38a1685
Introduce ``InjectPathFieldPack`` 1/3
mabruzzo Dec 10, 2025
530aae3
Introduce ``InjectPathFieldPack`` 2/3
mabruzzo Dec 10, 2025
f6bf246
Introduce ``InjectPathFieldPack`` 3/3
mabruzzo Dec 10, 2025
522b412
calc_grain_size_increment: replace some array operations with explici…
mabruzzo Dec 10, 2025
ebc95d5
calc_grain_size_increment: replace some array operations with explici…
mabruzzo Dec 10, 2025
1c7b5bb
calc_grain_size_increment: replace some array operations with explici…
mabruzzo Dec 10, 2025
70c13f4
initial commit of transcribed calc_grain_size_increment_1d.hpp
mabruzzo Dec 11, 2025
7b39ac6
remove the original fortran version of calc_grain_size_increment_1d
mabruzzo Dec 11, 2025
b97ec42
significantly simplify src/clib/dust/multi_grain_species/calc_grain_s…
mabruzzo Dec 11, 2025
5572b10
adjusting interface of calc_grain_size_increment_1d.hpp
mabruzzo Dec 11, 2025
b12e22e
another interface adjustment
mabruzzo Dec 11, 2025
d86f7e5
a third interface adjustment
mabruzzo Dec 11, 2025
43aa1c2
remove the old wrapper for calc_grain_size_increment_1d.hpp
mabruzzo Dec 11, 2025
35aebcf
replace constants with GrainSpeciesInfoEntry::bulk_density_cgs
mabruzzo Dec 11, 2025
6bbcda7
grain_size_incr: a step towards aggregating allocations
mabruzzo Dec 11, 2025
db4bb63
grain_size_incr: another step towards aggregating allocations
mabruzzo Dec 11, 2025
9bfe7c1
grain_size_incr: a 3rd step towards aggregating allocations
mabruzzo Dec 11, 2025
2cc450b
grain_size_incr: more massaging
mabruzzo Dec 11, 2025
17df793
grain_size_incr: fold all calls to actually compute increment into fo…
mabruzzo Dec 11, 2025
0588e02
incremental commit
mabruzzo Dec 11, 2025
c5b2cfd
another step
mabruzzo Dec 11, 2025
08fbb8e
some extra changes
mabruzzo Dec 11, 2025
2708a54
grain_size_incr: cleanup indexing 1/3
mabruzzo Dec 11, 2025
8d60001
grain_size_incr: cleanup indexing 2/3
mabruzzo Dec 11, 2025
f2e36fc
grain_size_incr: cleanup indexing 3/3
mabruzzo Dec 11, 2025
989b14a
add a bunch of commentary
mabruzzo Dec 11, 2025
2fe019c
add a little more commentary
mabruzzo Dec 11, 2025
ba2009b
apply clang-format
mabruzzo Dec 11, 2025
1671ee3
Refactor last part of calc_grain_size_increment_1d
mabruzzo Dec 11, 2025
c2b7da0
Only load needed injection pathway data
mabruzzo Dec 11, 2025
e4df3f9
address compiler warning in chemistry_solver_funcs.hppp
mabruzzo Dec 19, 2025
e2ea0d9
address warning about uninitialized variables in solve_rate_cool_g-cp…
mabruzzo Dec 19, 2025
9ff4b3a
mv testing utility library from tests/unit to tests/grtestutils
mabruzzo Dec 18, 2025
b5b7e65
slightly alter we define targets that support testing
mabruzzo Dec 18, 2025
8cae777
address a todo item (to reduce code duplication)
mabruzzo Dec 18, 2025
5cf43bc
Add gmock to the list of libraries linked via testdeps
mabruzzo Dec 19, 2025
deb6c84
mv GrackleCtxPack out of test_ghost_zone and refactor
mabruzzo Dec 16, 2025
c4495e7
transfer grtest_api_fixture out of test_ghost_zone
mabruzzo Dec 16, 2025
268b9b4
introduce some basic tests of ratequery
mabruzzo Dec 17, 2025
cd7deac
add more ratequery tests
mabruzzo Dec 17, 2025
2425701
tweak the name of the test_ghost_zone tests
mabruzzo Dec 17, 2025
37fad17
factor out machinery for creating adaptor
mabruzzo Dec 18, 2025
39e1c0c
fix a broken header include
mabruzzo Dec 19, 2025
804efcf
some light refactoring of the rate utlities
mabruzzo Dec 12, 2025
ff9eca6
rename rateprop -> ratequery::Descr (as in a rate description)
mabruzzo Dec 12, 2025
9a32a9e
slightly more refactoring
mabruzzo Dec 12, 2025
d13591e
tweak signatures of grunstable_(ratequery_id|ith_rate)
mabruzzo Dec 12, 2025
1fff13c
rename rate_utils to ratequery
mabruzzo Dec 12, 2025
3659a3a
rename Descr->Entry
mabruzzo Dec 12, 2025
11ddf78
introduce ratequery.hpp
mabruzzo Dec 12, 2025
fb030ff
Store the `Entry` Registry within chemistry_data_storage
mabruzzo Dec 12, 2025
e42e0dd
lay the foundation for querying properties
mabruzzo Dec 12, 2025
97d3ce6
gracklepy: start directly querying shapes
mabruzzo Dec 12, 2025
ab816b4
gracklepy: use new shape query logic
mabruzzo Dec 12, 2025
080a097
Tweak grackle wrapper
mabruzzo Dec 13, 2025
3a95ef0
remove unimplemented rate properties
mabruzzo Dec 13, 2025
5df10fc
address a gcc compiler warning
mabruzzo Dec 19, 2025
fe1aba6
introduce grunstable_ratequery_nrates
mabruzzo Dec 19, 2025
93c4c74
add some tests that query rates
mabruzzo Dec 19, 2025
08841f7
introduced a setter and getter function
mabruzzo Dec 20, 2025
c75aacf
gracklepy: implement wrappers that use getter/setter
mabruzzo Dec 20, 2025
0881873
gracklepy: purge uses of grunstable_ratequery_get_ptr
mabruzzo Dec 20, 2025
144db1f
remove remaining references to grunstable_ratequery_get_ptr
mabruzzo Dec 20, 2025
5d6fb08
Rename `RecipeEntrySet` -> `EntrySet` and track `id_offset` separately
mabruzzo Dec 13, 2025
5b7ed15
initial implementation of RegBuilder
mabruzzo Dec 20, 2025
7baec78
use RegistryBuilder within RegistryConstructor
mabruzzo Dec 20, 2025
c5a7231
Remove new_Registry
mabruzzo Dec 20, 2025
de89e2b
relocate and simplify get_CollisionalRxn_Entry
mabruzzo Dec 21, 2025
ef5b1be
assorted cleanup
mabruzzo Dec 21, 2025
a2665b2
address a typo in a docstring
mabruzzo Dec 28, 2025
25da6ba
introduce PtrUnion
mabruzzo Dec 13, 2025
3f8ef14
recombine RecipeInfo and EntrySet and flesh out the role of EntrySet
mabruzzo Dec 16, 2025
7da7b81
fix an issue with the canonical invalid rateid
mabruzzo Dec 21, 2025
f9df7b8
flesh out additional support for querying strings
mabruzzo Dec 21, 2025
587a134
first stab at update gracklepy
mabruzzo Dec 22, 2025
de1c5ef
improve the gracklepy bindings
mabruzzo Dec 23, 2025
5c36e45
elaborate on a few more items that need addressing before stabilizing…
mabruzzo Dec 23, 2025
f69092c
fix some issues in test_api_ratequery
mabruzzo Dec 23, 2025
0de69ae
fix a bug in writable check
mabruzzo Dec 23, 2025
862a86d
Shifted the entire definition of EntrySet into ratequery.cpp
mabruzzo Dec 23, 2025
ac69a55
introduce SimpleVec
mabruzzo Dec 23, 2025
651db0e
refactor RegBuilder to use SimpleVec
mabruzzo Dec 26, 2025
9a99f75
prepare RegBuilder to handle owned Entries
mabruzzo Dec 26, 2025
a2e31db
implement logic for RegBuilder to create owned Entry instances
mabruzzo Dec 28, 2025
5b45e62
tweak a test
mabruzzo Dec 28, 2025
c4bcce4
Merge branch 'ncc/generalize_ratequery' into ncc/query_inj_path_names
mabruzzo Dec 28, 2025
4a62639
initial attempt to make the names of the injectionpathway data queryable
mabruzzo Dec 28, 2025
122e574
make more rate-info queryable
mabruzzo Dec 29, 2025
32f2ddb
add some basic tests of the new quantities accessible through ratequery
mabruzzo Dec 30, 2025
78b8e63
Move reusable machinery for testing ratequery API into its own file
mabruzzo Dec 30, 2025
c36c4e7
add a basic test for querying arrays of strings
mabruzzo Dec 30, 2025
019cb0a
add some tests of queryable injection-pathway data
mabruzzo Dec 31, 2025
49e263a
use weakref to make _rate_mapping_access marginally safer
mabruzzo Dec 31, 2025
721c0d0
minor bugfix
mabruzzo Dec 31, 2025
61564aa
Refactor fluid_container to query list of possible inject_pathways
mabruzzo Dec 31, 2025
707e45d
introduce experimental machinery to query injection pathway info from…
mabruzzo Jan 1, 2026
35e5aa1
address clang-tidy warnings
mabruzzo Jan 1, 2026
6b69e77
a minor hint to try to fix clang-tidy behavior
mabruzzo Jan 1, 2026
a5b3225
Start undefining internal macros in headers
mabruzzo Jan 1, 2026
1c2c84c
introduce grackle_field_data::inject_pathway_metal_density
mabruzzo Jan 1, 2026
2d7fc71
hack: start using grackle_field_data::inject_pathway_metal_density
mabruzzo Jan 1, 2026
7881c69
hack: stop using InjectPathFieldPack
mabruzzo Jan 1, 2026
dde169a
hack: don't use `<inj_path>_metal_density` from gracklepy
mabruzzo Jan 3, 2026
ffc0f0b
scale_fields.[ch]pp stops listing pathway densities
mabruzzo Jan 3, 2026
bbf061c
remove `<inj_path>_metal_density` members from `grackle_field_data`
mabruzzo Jan 3, 2026
7deb501
gracklepy: pass inj_path_densities to grackle more efficiently
mabruzzo Jan 3, 2026
02f35e8
Make GRIMPL_MAX_INJ_PATHWAYS visible to Fortran Headers
mabruzzo Jan 3, 2026
7e2d847
gracklepy: add some comments pertaining to GRIMPL_MAX_INJ_PATHWAYS
mabruzzo Jan 3, 2026
2bb15e1
Some final refactoring
mabruzzo Jan 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .clang-format-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ src/clib/init_misc_species_cool_rates.cpp
src/clib/initialize_UVbackground_data.c
src/clib/initialize_chemistry_data.cpp
src/clib/initialize_cloudy_data.c
src/clib/initialize_dust_yields.cpp
src/clib/initialize_rates.cpp
src/clib/internal_types.hpp
src/clib/internal_units.h
src/clib/interp_table_utils.h
src/clib/interpolate.hpp
src/clib/phys_constants.h
src/clib/rate_functions.c
Expand Down Expand Up @@ -64,17 +62,17 @@ src/include/grackle_float.h.in
src/include/grackle_misc.h
src/include/grackle_rate_functions.h
src/include/grackle_types.h
tests/unit/grtest_cmd.cpp
tests/unit/grtest_cmd.hpp
tests/unit/grtest_os.cpp
tests/unit/grtest_os.hpp
tests/unit/grtest_utils.cpp
tests/unit/grtest_utils.hpp
tests/grtestutils/cmd.cpp
tests/grtestutils/cmd.hpp
tests/grtestutils/os.cpp
tests/grtestutils/os.hpp
tests/grtestutils/utils.cpp
tests/grtestutils/utils.hpp
tests/grtestutils/googletest/check_allclose.hpp
tests/unit/test_chemistry_struct_synced.cpp
tests/unit/test_ghost_zone.cpp
tests/unit/test_interpolators_comparisons.cpp
tests/unit/test_linalg.cpp
tests/unit/test_status_reporting.cpp
tests/unit/test_unit_interpolators_g.cpp
tests/unit/utest_helpers.hpp

2 changes: 1 addition & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"cacheVariables" : {
"CMAKE_COMPILE_WARNING_AS_ERROR": "ON",
"CMAKE_C_FLAGS": "-Wall -Wpedantic -Wextra -Wno-error=unused-variable -Wno-error=newline-eof -Wno-unused-parameter",
"CMAKE_CXX_FLAGS": "-Wall -Wpedantic -Wno-c++17-attribute-extensions -Wno-unused-parameter"
"CMAKE_CXX_FLAGS": "-Wall -Wpedantic -Wno-c++17-attribute-extensions -Wno-unused-parameter -Wno-error=self-assign"
}
},
{
Expand Down
30 changes: 22 additions & 8 deletions src/clib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,21 +112,28 @@ add_library(Grackle_Grackle
cool_multi_time_g.cpp cool_multi_time_g.h
dust_props.hpp
dust/grain_species_info.cpp dust/grain_species_info.hpp
dust/multi_grain_species/calc_grain_size_increment_1d.hpp
init_misc_species_cool_rates.cpp init_misc_species_cool_rates.hpp
initialize_chemistry_data.cpp
initialize_dust_yields.cpp initialize_dust_yields.hpp
initialize_rates.cpp initialize_rates.hpp
inject_model/grain_metal_inject_pathways.hpp
inject_model/load_data.cpp inject_model/load_data.hpp
inject_model/misc.hpp
inject_model/raw_data.cpp inject_model/raw_data.hpp
internal_types.cpp internal_types.hpp
interp_table_utils.hpp
lookup_cool_rates1d.hpp
make_consistent.cpp make_consistent.hpp
opaque_storage.hpp
rate_utils.cpp
ratequery.cpp ratequery.hpp
solve_chemistry.cpp
scale_fields.cpp scale_fields.hpp
solve_rate_cool_g-cpp.cpp solve_rate_cool_g-cpp.h
support/SimpleVec.hpp
step_rate_gauss_seidel.hpp
step_rate_newton_raphson.hpp
time_deriv_0d.hpp
utils/FrozenKeyIdxBiMap.hpp
utils-cpp.cpp utils-cpp.hpp
utils-field.hpp
fortran_func_wrappers.hpp
Expand Down Expand Up @@ -174,11 +181,9 @@ add_library(Grackle_Grackle
grackle_chemistry_data_fields.def # <-- acts as a C header
grackle_macros.h
index_helper.h
interp_table_utils.h
phys_constants.h
collisional_rxn_rate_members.def # <-- acts as a C header
utils.h
dust_const.def

# Fortran public headers
../include/grackle.def
Expand Down Expand Up @@ -297,7 +302,16 @@ if ("${CMAKE_SYSTEM_NAME}" MATCHES "^(Linux)|(Darwin)$")
target_compile_definitions(Grackle_Grackle PRIVATE "LINUX")
endif()

# define macro to suppress warnings about C files using our deprecated public
# headers (the files should include grackle.h instead). We're currently holding
# off on this to minimize conflicts with the newchem-cpp branch
target_compile_definitions(Grackle_Grackle PRIVATE GRIMPL_PUBLIC_INCLUDE=1)
# define macro to slightly customize behavior in header files since we're compiling
# the grackle library
# - suppresses warnings about C files using our deprecated public headers (the files
# should include grackle.h instead). We're gradually making this transition. It will
# probably be complete once we're finished transcribing all Fortran
# - indicate to the headers that they shouldn't undef certain macros
#
# In reality, a "cleaner" approach than this may be to have
# - all files in the core library include a wrapper-header-file that wraps the public
# headers and have that wrapper-file define this macro instead
# - this is appealing since there's one less custom argument that needs to be passed
# to the compiler
target_compile_definitions(Grackle_Grackle PRIVATE GRIMPL_COMPILING_CORE_LIB=1)
2 changes: 1 addition & 1 deletion src/clib/Make.config.assemble
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
# this to minimize conflicts with the newchem-cpp branch
DEFINES = $(MACH_DEFINES) \
$(ASSEMBLE_IO_DEFINES) \
-DGRIMPL_PUBLIC_INCLUDE=1
-DGRIMPL_COMPILING_CORE_LIB=1

PUBLIC_HEADER_SRCDIR = $(GRACKLE_DIR)/../include
AUTOGEN_DIR = $(GRACKLE_DIR)/autogen
Expand Down
5 changes: 3 additions & 2 deletions src/clib/Make.config.objects
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ OBJS_CONFIG_LIB = \
index_helper.lo \
initialize_chemistry_data.lo \
initialize_cloudy_data.lo \
initialize_dust_yields.lo \
init_misc_species_cool_rates.lo \
initialize_rates.lo \
initialize_UVbackground_data.lo \
inject_model/load_data.lo \
inject_model/raw_data.lo \
interpolators_g.lo \
make_consistent.lo \
scale_fields.lo \
Expand All @@ -49,7 +50,7 @@ OBJS_CONFIG_LIB = \
calc_tdust_3d.lo \
calc_grain_size_increment_1d.lo \
rate_functions.lo \
rate_utils.lo \
ratequery.lo \
gaussj_g.lo \
utils.lo \
utils-cpp.lo \
Expand Down
4 changes: 3 additions & 1 deletion src/clib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,10 @@ install:
#-----------------------------------------------------------------------

clean:
-@rm -f *.la .libs/* *.o *.lo DEPEND.bak *~ $(OUTPUT) *.exe DEPEND out.make.DEPEND
-@rm -f *.la DEPEND.bak *~ $(OUTPUT) *.exe DEPEND out.make.DEPEND
-@rm -rf $(AUTOGEN_DIR)
-@find . -type d -name '.libs' -exec rm -rf '{}' +
-@find . \( -name '*.o' -o -name '*.lo' \) -exec rm -f '{}' \;
-@touch DEPEND

#-----------------------------------------------------------------------
Expand Down
Loading