Artifact 592dac6b069a7e85182fbac34fc6ea1b3fd9ae0899ac2789b8bda4467b72cd9e:
- File Makefile — part of check-in [34a019c3c5] at 2017-01-22 15:56:43 on branch trunk — Properly declare dependencies in the Makefile (user: js, size: 340) [annotate] [blame] [check-ins using]
CC ?= clang CFLAGS ?= -Weverything -std=c11 ## For C11 #CFLAGS += -DTRYCATCH_THREAD_LOCAL=_Thread_local ## For GCC / Clang #CFLAGS += -DTRYCATCH_THREAD_LOCAL=__thread libtrycatch.a: trycatch.o ar cr $@ $< example: example.o libtrycatch.a ${CC} -L. -ltrycatch -o $@ $< trycatch.o: trycatch.c trycatch.h example.o: example.c trycatch.h