Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s/\$^/$</
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 11 Mar 2018 22:45:19 +0000 (23:45 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 11 Mar 2018 22:45:19 +0000 (23:45 +0100)
doc/tuto-msg/Makefile

index 3ad9e06..fbac5c3 100644 (file)
@@ -29,7 +29,7 @@ CFLAGS = -std=gnu99 -g -O2 $(WARNINGS) $(EXTRA_CFLAGS) # Use this line to get be
 .SUFFIXES: .c
 # The blanks before the $(CC) must be a Tab char, not spaces
 .c:
-       $(CC) -I$(strip $(SIMGRID_INSTALL_PATH))/include -L$(strip $(SIMGRID_INSTALL_PATH))/lib/ $(CFLAGS) $^ -lsimgrid -o $@
+       $(CC) -I$(strip $(SIMGRID_INSTALL_PATH))/include -L$(strip $(SIMGRID_INSTALL_PATH))/lib/ $(CFLAGS) $< -lsimgrid -o $@
 
 clean:
        rm -f *.o *~ masterworker masterworker-sol1 masterworker-sol2 masterworker-sol3 masterworker-sol4