diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ void *create_make() { /* Create simple makefile */ int fd = creat("makefile", 00644); FILE *file = fdopen(fd, "w"); - fprintf(file, "debug: main.c\n\tgcc -Wall main.c -o ./bin/debug\nrelease: main.c\n\tgcc -O2 -march-native main.c -o ./bin/release"); + fprintf(file, "debug: main.c\n\tgcc -Wall main.c -o ./bin/debug\nrelease: main.c\n\tgcc -O2 -march=native main.c -o ./bin/release"); fclose(file); return NULL; @@ -73,7 +73,7 @@ int main() { pid_t x_pid; if ((x_pid = fork()) == 0) { - execl("./bin/tmp", "tmp", NULL); + execl("./bin/debug", "debug", NULL); } waitpid(x_pid, NULL, 0); |