Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfaeder authored Feb 28, 2024
1 parent 02db0cf commit eaf3b82
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions bng2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ NFSIM_DIR = nfsim_src
.PHONY: clean test


all: $(NFSIM_BIN) $(NETWORK_BIN)
#all: $(NFSIM_BIN) $(NETWORK_BIN)
all: $(NETWORK_BIN)

dist: $(DIST_TARBALL)

$(DIST_TARBALL): $(DIST_DIR)
tar czf $(DIST_TARBALL) $(DIST_DIR)

$(DIST_DIR): $(NFSIM_BIN) $(NETWORK_BIN)
#$(DIST_DIR): $(NFSIM_BIN) $(NETWORK_BIN)
$(DIST_DIR): $(NETWORK_BIN)
mkdir -p $(DIST_DIR)
cd $(NETWORK_DIR); cp -fr lib include ../$(DIST_DIR)
cp -fr bin BNG2.pl CHANGES.txt CREDITS.txt Models2 Perl2 Network3 Validate VERSION $(DIST_DIR)
Expand All @@ -41,9 +43,9 @@ $(NFSIM_BIN):
clean:
rm -fr $(DIST_DIR)
rm -fr $(DIST_TARBALL)
cd $(NFSIM_DIR) ; $(MAKE) clean
#cd $(NFSIM_DIR) ; $(MAKE) clean
cd $(NETWORK_DIR) ; $(MAKE) clean
cd $(GROUP_BINDIR); rm $(NETWORK_BIN); rm $(NFSIM_BIN)

test: $(NFSIM_BIN) $(NETWORK_BIN)
cd Validate; perl validate_examples.pl
#test: $(NFSIM_BIN) $(NETWORK_BIN)
# cd Validate; perl validate_examples.pl

0 comments on commit eaf3b82

Please sign in to comment.