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 all: main.out
main.out: main.c vec_match.c vec_match.h main.out: main.c src/vec_match.c src/vec_match.h
gcc -o main.out main.c vec_match.c -I. gcc -o main.out main.c src/vec_match.c -Isrc
run: main.out run: main.out
./main.out ./main.out
clean: clean:
rm -f *.out *.elf *.lst rm -f *.out *.elf *.lst
cd src && rm -f *.out *.elf *.lst

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

Loading…
Cancel
Save