Added makefile.

pull/5/merge
Krzysztof Gabis 12 years ago
parent b2dbaece40
commit 962d9f13ba
  1. 3
      .gitignore
  2. 11
      Makefile
  3. 5
      tests.sh

3
.gitignore vendored

@ -1 +1,2 @@
.DS_Store
.DS_Store
test

@ -0,0 +1,11 @@
CFLAGS = -O0 -g -Wall -Wextra -std=c89 -pedantic-errors
all: test
.PHONY: test
test: tests.c parson.c
$(CC) $(CFLAGS) -o $@ tests.c parson.c
./$@
clean:
rm -f test *.o

@ -1,5 +0,0 @@
#!/bin/bash
gcc tests.c parson.c -Wall -pedantic-errors -std=c89 -o test
./test
rm -f *.o
rm test
Loading…
Cancel
Save