Initial commit

This commit is contained in:
Lewis Van Winkle
2016-01-21 14:36:59 -06:00
commit ec3dde1e24
14 changed files with 1316 additions and 0 deletions

28
Makefile Normal file
View File

@@ -0,0 +1,28 @@
CC = gcc
CCFLAGS = -ansi -Wall -Wshadow -O2 $(EXTRAS)
all: test bench example example2
test: test.o tinyexpr.o
$(CC) $(CCFLAGS) -o $@ $^
./$@
bench: benchmark.o tinyexpr.o
$(CC) $(CCFLAGS) -o $@ $^
example: example.o tinyexpr.o
$(CC) $(CCFLAGS) -o $@ $^
example2: example2.o tinyexpr.o
$(CC) $(CCFLAGS) -o $@ $^
.c.o:
$(CC) -c $(CCFLAGS) $< -o $@
clean:
rm *.o
rm *.exe