Skip to content

Commit

Permalink
Fix the Makefiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
basil00 committed Oct 23, 2016
1 parent 14475a1 commit db77394
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions src/Makefile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ help:
@echo " make -f Makefile.linux build"
@echo

build: tbprobe.c
build: tb
$(CC) $(CFLAGS) -O3 -D LINUX Gull.cpp tbprobe.c $(LDFLAGS) -o LazyGull
$(STRIP) LazyGull

pgo-build: tbprobe.c
pgo-build: tb
rm -f *.gcda
$(CC) $(CFLAGS) -O3 -fprofile-generate -D LINUX Gull.cpp tbprobe.c \
$(LDFLAGS) -o LazyGull
Expand All @@ -74,14 +74,12 @@ pgo-build: tbprobe.c
Gull.cpp tbprobe.c $(LDFLAGS) -o LazyGull
$(STRIP) LazyGull

debug: tbprobe.c
debug: tb
$(CC) $(CFLAGS) -O0 -g -D LINUX Gull.cpp tbprobe.c $(LDFLAGS) -o LazyGull

tbprobe.c: Fathom-master.zip
tb: Fathom-master.zip
unzip -o -j Fathom-master.zip "Fathom-master/src/tbprobe.h" -d "./"
unzip -o -j Fathom-master.zip "Fathom-master/src/tbprobe.c" -d "./"

tbcore.c: Fathom-master.zip
unzip -o -j Fathom-master.zip "Fathom-master/src/tbcore.h" -d "./"
unzip -o -j Fathom-master.zip "Fathom-master/src/tbcore.c" -d "./"

Expand Down
10 changes: 4 additions & 6 deletions src/Makefile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ help:
@echo " make -f Makefile.windows build"
@echo

build: tbprobe.c
build: tb
$(CC) $(CFLAGS) -O3 -D WINDOWS Gull.cpp tbprobe.c $(LDFLAGS) -o LazyGull.exe
$(STRIP) LazyGull.exe

pgo-build: tbprobe.c
pgo-build: tb
rm -f *.gcda
$(CC) $(CFLAGS) -O3 -fprofile-generate -D WINDOWS Gull.cpp tbprobe.c \
$(LDFLAGS) -o LazyGull.exe
Expand All @@ -64,15 +64,13 @@ pgo-build: tbprobe.c
Gull.cpp tbprobe.c $(LDFLAGS) -o LazyGull.exe
$(STRIP) LazyGull.exe

debug: tbprobe.c
debug: tb
$(CC) $(CFLAGS) -O0 -g -D WINDOWS Gull.cpp tbprobe.c $(LDFLAGS) \
-o LazyGull.exe

tbprobe.c: Fathom-master.zip
tb: Fathom-master.zip
unzip -o -j Fathom-master.zip "Fathom-master/src/tbprobe.h" -d "./"
unzip -o -j Fathom-master.zip "Fathom-master/src/tbprobe.c" -d "./"

tbcore.c: Fathom-master.zip
unzip -o -j Fathom-master.zip "Fathom-master/src/tbcore.h" -d "./"
unzip -o -j Fathom-master.zip "Fathom-master/src/tbcore.c" -d "./"

Expand Down

0 comments on commit db77394

Please sign in to comment.