From f3d3b35248b114b8b5664c6c38952a89fbf98b15 Mon Sep 17 00:00:00 2001 From: tslil Date: Tue, 5 Jan 2021 00:08:20 -0500 Subject: Gotta go fast --- Makefile | 2 +- src/pptdb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e3aafec..c908cac 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ IDIR=include TPDIR=3rd-party -CFLAGS=-g -Wall -Wextra -std=c99 -D_DEFAULT_SOURCE -I$(IDIR) -I$(TPDIR) +CFLAGS=-O2 -Wall -Wextra -std=c99 -D_DEFAULT_SOURCE -I$(IDIR) -I$(TPDIR) LIBS= SRCS=$(wildcard include/*.c) $(wildcard 3rd-party/*.c) diff --git a/src/pptdb.c b/src/pptdb.c index c536637..eb39e25 100644 --- a/src/pptdb.c +++ b/src/pptdb.c @@ -131,7 +131,7 @@ main(int argc, char **argv) { playtak_fh = fopen(argv[2], "r"); if (playtak_fh == NULL) exit(EXIT_FAILURE); - snprintf(td_fn, 64, "training-%d.csv",size); + snprintf(td_fn, 64, "data/training-%d.csv",size); training_fh = fopen(td_fn, "w"); if (training_fh == NULL) exit(EXIT_FAILURE); -- cgit v1.2.3