1
0
mirror of https://gitlab.com/klmp200/LO27.git synced 2024-11-22 22:23:24 +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/
*.o
*.exe

View File

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