diff options
| author | aspiring_aurelian <tom.wells46@protonmail.com> | 2023-12-08 10:30:58 -0600 |
|---|---|---|
| committer | aspiring_aurelian <tom.wells46@protonmail.com> | 2023-12-08 10:30:58 -0600 |
| commit | a7784a7eaa8cbd267db83f43662b68cfaab18444 (patch) | |
| tree | 3f4e9bdecbb265237903688d50a8c1350701cac9 /main.c | |
| parent | 3d76f61ae704c737e9ec830c8a04cd1431fad2a7 (diff) | |
Update target
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); |