Skip to content

Commit

Permalink
Fix Makefile dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
rafael2k committed Jun 30, 2023
1 parent 0b58e27 commit e3929ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ CPPFLAGS=-O3 -g0 -Wall -Wno-format -std=gnu++14 -I./include
CPP_SOURCES=$(wildcard source/*.cc)
DOCS=index.html

all: $(CPP_SOURCES)
all: mercury doc
$(CPP) $(CPP_SOURCES) $(LDFLAGS) $(CPPFLAGS) -o mercury
@doxygen ./mercury.doxyfile
cp ./docs_FSM/*.png html

mercury: $(CPP_SOURCES)
$(CPP) $(CPP_SOURCES) $(LDFLAGS) $(CPPFLAGS) -o $@

Expand All @@ -19,7 +19,7 @@ doc: $(CPP_SOURCES)

.PHONY: clean install

install:
install: mercury
install -D mercury /usr/bin/mercury

clean:
Expand Down

0 comments on commit e3929ca

Please sign in to comment.