Added additional example and info.

This commit is contained in:
Lewis Van Winkle
2016-05-05 17:12:02 -05:00
parent cf03962b1c
commit 4791163e24
4 changed files with 64 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ CCFLAGS = -ansi -Wall -Wshadow -O2
LFLAGS = -lm
all: test bench example example2
all: test bench example example2 example3
test: test.o tinyexpr.o
@@ -20,6 +20,9 @@ example: example.o tinyexpr.o
example2: example2.o tinyexpr.o
$(CC) $(CCFLAGS) -o $@ $^ $(LFLAGS)
example3: example3.o tinyexpr.o
$(CC) $(CCFLAGS) -o $@ $^ $(LFLAGS)
.c.o:
$(CC) -c $(CCFLAGS) $< -o $@