Skip to content

Commit 8035018

Browse files
committed
misc files
1 parent de8bc86 commit 8035018

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

Makefile

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,14 @@ CFLAGS=-O3 -Wall -fopenmp
6969

7070
##########################################################################
7171

72-
# Compile directories
72+
# Directories
7373
SRCDIR = src
7474
OBJDIR = obj
7575
BINDIR = bin
76-
77-
# Script directories
7876
BASHDIR = bash
7977
RSTATSDIR = rstats
8078
PYTHONDIR = python
79+
MISCDIR = misc
8180

8281
# Create necessary directories
8382
$(shell mkdir -p $(OBJDIR) $(BINDIR) $(BINDIR)/force-test $(BINDIR)/force-misc)
@@ -114,15 +113,15 @@ TEST_EXE = $(patsubst $(SRCDIR)/tests/%.c, $(BINDIR)/force-test/%, $(TEST_SRC))
114113
DEPENDENCIES = $(CROSS_OBJ:.o=.d) $(LOWER_OBJ:.o=.d) $(HIGHER_OBJ:.o=.d) $(AUX_OBJ:.o=.d)
115114

116115
# Targets
117-
all: exe tests scripts
116+
all: exe tests scripts misc
118117
exe: aux higher lower
119118
aux: $(MAIN_AUX_EXE)
120119
higher: $(MAIN_HIGHER_EXE)
121120
lower: $(MAIN_LOWER_EXE)
122121
tests: $(TEST_EXE)
123122
scripts: bash rstats python external
124123
dev: $(BINDIR)/force-stratified-sample # specific target for development
125-
.PHONY: bash rstats python external scripts install
124+
.PHONY: bash rstats python external scripts misc install
126125
#.PHONY: temp all install install_ bash python rstats misc external clean build check
127126

128127
# Include dependencies
@@ -273,6 +272,14 @@ external:
273272
cp $(shell which landsatlinks) $(BINDIR)/force-level1-landsat
274273

275274

275+
# misc files
276+
277+
misc:
278+
@for file in $(MISCDIR)/*; do \
279+
cp $$file $(BINDIR)/force-misc/; \
280+
done
281+
282+
276283
### dummy code for testing stuff
277284

278285
#dummy: temp cross aux higher src/dummy.c
@@ -302,6 +309,3 @@ clean:
302309
# $(info $(miscfiles) installed), \
303310
# $(error $(miscfiles) was not installed properly!)))
304311

305-
#misc: temp
306-
# $(foreach miscfiles,$(FORCE_MISC),\
307-
# $(shell cp $(DD)/$(miscfiles) -t $(TM)))

misc/force-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.12-dev:::2024-10-24_13:44:42
1+
3.7.12-dev:::2024-10-24_13:57:30

0 commit comments

Comments
 (0)