Skip to content

Conversation

adcroft
Copy link
Member

@adcroft adcroft commented Jul 31, 2025

  • Uses $(or ) macro to accommodate change in file locations
  • Added "full-clean" targets to clean FMS objects in addition to "clean"

@adcroft adcroft force-pushed the fms2-makefile-patch branch from 652f0cf to 2a23023 Compare July 31, 2025 14:14
@marshallward
Copy link
Member

How about

.PHONY: clean libclean cleanall Clean

clean:
  rm -rf $(BUILD)
  
libclean:
  rm -rf $(FMS_BUILD) ....

cleanall: clean cleanlibs

Clean: cleanall

@adcroft adcroft force-pushed the fms2-makefile-patch branch 2 times, most recently from 9fe637f to 71ceccc Compare August 18, 2025 18:01
- Uses `$(or )` macro to accommodate change in file locations
- Added "clean.fms" targets to clean FMS objects in addition to "clean"
@adcroft adcroft force-pushed the fms2-makefile-patch branch from 71ceccc to cbe516d Compare August 18, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants