Skip to content
Snippets Groups Projects
Commit 53415010 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

Makefiles: Make move not copy

parent 64773561
No related branches found
No related tags found
No related merge requests found
all: afa2rg afa2lrg afa2rrg all: afa2rg afa2lrg afa2rrg
#cp afa2rg $(BIN_DIR) #mv afa2rg $(BIN_DIR)
cp afa2lrg $(BIN_DIR) mv afa2lrg $(BIN_DIR)
cp afa2rrg $(BIN_DIR) mv afa2rrg $(BIN_DIR)
   
afa2rg: afa2rg.o afa2rg: afa2rg.o
#$(LD) $(LDFLAGS) $^ -o afa2rg #$(LD) $(LDFLAGS) $^ -o afa2rg
...@@ -44,4 +44,3 @@ GrammarUtils.o: ../../utils/GrammarUtils.cpp ../../utils/GrammarUtils.h ../../ut ...@@ -44,4 +44,3 @@ GrammarUtils.o: ../../utils/GrammarUtils.cpp ../../utils/GrammarUtils.h ../../ut
.PHONY: clean .PHONY: clean
clean: clean:
rm -f *.o rm -f *.o
rm -f afa2rg afa2lrg afa2rrg
\ No newline at end of file
all: are2fa.glushkov are2fa.brzozowski are2fa.thompson all: are2fa.glushkov are2fa.brzozowski are2fa.thompson
#cp are2fa.glushkov $(BIN_DIR) #mv are2fa.glushkov $(BIN_DIR)
#cp are2fa.brzozowski $(BIN_DIR) #mv are2fa.brzozowski $(BIN_DIR)
cp are2fa.thompson $(BIN_DIR) mv are2fa.thompson $(BIN_DIR)
   
are2fa.glushkov: are2fa.glushkov.o Glushkov.o AbstractREtoFAConverter.o are2fa.glushkov: are2fa.glushkov.o Glushkov.o AbstractREtoFAConverter.o
#$(LD) $(LDFLAGS) $^ -o $@ #$(LD) $(LDFLAGS) $^ -o $@
...@@ -47,4 +47,3 @@ ConversionException.o: ../../utils/ConversionException.cpp ../../utils/Conversio ...@@ -47,4 +47,3 @@ ConversionException.o: ../../utils/ConversionException.cpp ../../utils/Conversio
   
clean: clean:
rm -f *.o rm -f *.o
rm -f $(EXECUTABLE)
\ No newline at end of file
EXECUTABLE=arg2fa EXECUTABLE=arg2fa
   
all: alrg2fa arrg2fa all: alrg2fa arrg2fa
cp alrg2fa $(BIN_DIR) mv alrg2fa $(BIN_DIR)
cp arrg2fa $(BIN_DIR) mv arrg2fa $(BIN_DIR)
   
alrg2fa: alrg2fa.o AbstractRGtoFAConverter.o LRGtoFAConverter.o AutomatonUtils.o GrammarUtils.o ConversionException.o alrg2fa: alrg2fa.o AbstractRGtoFAConverter.o LRGtoFAConverter.o AutomatonUtils.o GrammarUtils.o ConversionException.o
$(LD) $(LDFLAGS) $^ -o $@ $(LD) $(LDFLAGS) $^ -o $@
...@@ -44,4 +44,3 @@ GrammarUtils.o: ../../utils/GrammarUtils.cpp ../../utils/GrammarUtils.h ../../ut ...@@ -44,4 +44,3 @@ GrammarUtils.o: ../../utils/GrammarUtils.cpp ../../utils/GrammarUtils.h ../../ut
.PHONY: clean .PHONY: clean
clean: clean:
rm -f *.o rm -f *.o
rm -f $(EXECUTABLE)
\ No newline at end of file
...@@ -3,4 +3,3 @@ all: ...@@ -3,4 +3,3 @@ all:
.PHONY: clean .PHONY: clean
clean: clean:
rm -f *.o rm -f *.o
rm -f $(EXECUTABLE)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment