moved code to dir

master
Ondřej Hruška 9 years ago
parent a060554b05
commit 5c0738aaf8
  1. 5
      Makefile
  2. 2
      main.c
  3. 0
      src/vec_match.c
  4. 0
      src/vec_match.h

@ -1,10 +1,11 @@
all: main.out
main.out: main.c vec_match.c vec_match.h
gcc -o main.out main.c vec_match.c -I.
main.out: main.c src/vec_match.c src/vec_match.h
gcc -o main.out main.c src/vec_match.c -Isrc
run: main.out
./main.out
clean:
rm -f *.out *.elf *.lst
cd src && rm -f *.out *.elf *.lst

@ -2,7 +2,7 @@
#include <stdlib.h>
#include <stdbool.h>
#include "vec_match.h"
#include "src/vec_match.h"
#define DATA_LEN 11

Loading…
Cancel
Save