diff --git a/Makefile b/Makefile index 189e67b..1f0f044 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ cleanwin: # 'all' needs 'story.o'. What does story need? # And how do we make it? # ----------------------------------------------- -story: story.o bpbkt7.o bebz4t.o zwsx9f.o dmmdnr.o jmchpd.o qpty9t.o amz28.o rbhmm5.o esdnk7.o jee9pv.o rjkncd.o nrmb9r.o hgc8zc.o rkg7gg.o cejnfp.o cytbm.o kjkvfw.o edmqgc.o rdcr2n.o mnygp.o +story: story.o bpbkt7.o bebz4t.o zwsx9f.o dmmdnr.o jmchpd.o qpty9t.o amz28.o rbhmm5.o esdnk7.o jee9pv.o rjkncd.o nrmb9r.o hgc8zc.o rkg7gg.o cejnfp.o cytbm.o kjkvfw.o edmqgc.o rdcr2n.o mnygp.o bjwhpq.o $(CC) $^ -o story ## @@ -119,6 +119,10 @@ rdcr2n.o: sentences/rdcr2n.c mnygp.o: sentences/mnygp.c $(CC) -c $< + +bjwhpq.o: sentences/bjwhpq.c + $(CC) -c $< + #story.o: story.c diff --git a/sentences/_HEADERS.h b/sentences/_HEADERS.h index 81e0413..e5f993e 100644 --- a/sentences/_HEADERS.h +++ b/sentences/_HEADERS.h @@ -44,4 +44,6 @@ int edmqgcSentence2(); int rdcr2nSentence1(); int rdcr2nSentence2(); int mnygpSentence1(); -int mnygpSentence2(); \ No newline at end of file +int mnygpSentence2(); +int bjwhpqSentence1(); +int bjwhpqSentence2(); diff --git a/sentences/bjwhpq.c b/sentences/bjwhpq.c new file mode 100644 index 0000000..9bc4ff1 --- /dev/null +++ b/sentences/bjwhpq.c @@ -0,0 +1,17 @@ +//bjwhpq sentences + +# include + +int bjwhpqSentence1() +{ + printf("So they all made hot chocolate and s'mores."); + return 1; +} + +int bjwhpqSentence2() +{ + printf("It strikes the dragon on the head with surprising force for such a small object.\n"); + return 1; +} + + diff --git a/story.c b/story.c index 68c5d94..819d97f 100644 --- a/story.c +++ b/story.c @@ -42,6 +42,7 @@ int main( void ) dmmdnrSentence1(); zwsx9fSentence1(); amz28Sentence1(); + bjwhpqSentence1(); // "So they all made hot chocolate." bebz4tSentence2(); zwsx9fSentence2(); jmchpdSentence2(); @@ -73,6 +74,7 @@ int main( void ) kjkvfwSentence1(); kjkvfwSentence2(); rdcr2nSentence1(); + bjwhpqSentence2(); //"It strikes the dragon on the head with surprising force for such a small object." rdcr2nSentence2(); // Ben's sentence should be last.