Properly declare dependencies in the Makefile

This commit is contained in:
Jonathan Schleifer 2017-01-22 16:56:43 +01:00
parent d74c7ca999
commit 93f71a9cfe
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3

View file

@ -11,3 +11,6 @@ libtrycatch.a: trycatch.o
example: example.o libtrycatch.a example: example.o libtrycatch.a
${CC} -L. -ltrycatch -o $@ $< ${CC} -L. -ltrycatch -o $@ $<
trycatch.o: trycatch.c trycatch.h
example.o: example.c trycatch.h