Skip to content

Commit

Permalink
adjusted version computation in vortexlib makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Nov 21, 2024
1 parent e20e7c7 commit 31c73d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions VortexEngine/VortexLib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ TARGETS=vortex.a
endif

# Default target for 'make' command
all: compute_version $(TARGETS)
all: $(TARGETS)

# unit test target
tests: $(TESTS)
Expand All @@ -120,11 +120,11 @@ wasm: FORCE
env WASM=1 $(MAKE)

# target for vortex lib
vortex.a: $(DEPS)
$(AR) $@ $^
vortex.a: compute_version $(DEPS)
$(AR) $@ $(DEPS)

VortexLib.js: $(DEPS)
$(CC) $(LDFLAGS) $^ -o $@ $(LLIBS)
VortexLib.js: compute_version $(DEPS)
$(CC) $(LDFLAGS) $(DEPS) -o $@ $(LLIBS)

# catch-all make target to generate .o and .d files
%.o: %.cpp
Expand Down

0 comments on commit 31c73d2

Please sign in to comment.