1
0
mirror of https://gitlab.com/klmp200/LO27.git synced 2024-11-22 22:13:19 +00:00

Temporary makefile

This commit is contained in:
Antoine Bartuccio 2016-12-10 21:02:18 +01:00
parent 2c81de90ca
commit 64ab0178ce
2 changed files with 6 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
Libs/ Libs/
*.o *.o
*.exe

View File

@ -17,8 +17,8 @@ SOURCECFILE=$(SOURCE:=.c)
SOURCEOFILE=$(SOURCE:=.o) SOURCEOFILE=$(SOURCE:=.o)
#Library variables #Library variables
DEPENDENCE=libCellElement.so # DEPENDENCE=libCellElement.so
DEPENDENCENAME=CellElement # DEPENDENCENAME=CellElement
DEPENDENCELIST=libList.so DEPENDENCELIST=libList.so
DEPENDENCENAMELIST=List DEPENDENCENAMELIST=List
@ -29,13 +29,14 @@ all: $(TARGET)
#Generating the main.exe #Generating the main.exe
$(TARGET): $(SOURCEOFILE) $(DEPENDENCELIST) lib $(TARGET): $(SOURCEOFILE) $(DEPENDENCELIST) lib
@echo "\n Generating the " $(TARGET) " binary" @echo "\n Generating the " $(TARGET) " binary"
$(CC) $(SOURCEOFILE) $(LIBSDIR) -l$(DEPENDENCENAME) -l$(DEPENDENCENAMELIST) -o $(TARGET) # $(CC) $(SOURCEOFILE) $(LIBSDIR) -l$(DEPENDENCENAME) -l$(DEPENDENCENAMELIST) -o $(TARGET)
$(CC) $(SOURCEOFILE) $(LIBSDIR) -l$(DEPENDENCENAMELIST) -o $(TARGET)
#Generating the library binary #Generating the library binary
lib: lib:
@echo "\n Generating the automaton library binary" @echo "\n Generating the automaton library binary"
mkdir -p Libs mkdir -p Libs
$(MAKE) -C LibCell # $(MAKE) -C LibCell
$(DEPENDENCELIST): $(DEPENDENCELIST):
@echo "\n Generating the list library binary" @echo "\n Generating the list library binary"