+CC=gcc
BIN=libthreads
-SOURCE=libthreads.c
-FLAGS=
+SOURCE=libthreads.c schedule.c
+HEADERS=libthreads.h schedule.h common.h
+FLAGS=-Wall
all: ${BIN}
-${BIN}: ${SOURCE}
- gcc -o ${BIN} ${SOURCE} ${FLAGS}
+${BIN}: ${SOURCE} ${HEADERS}
+ ${CC} -o ${BIN} ${SOURCE} ${FLAGS}
clean:
rm -f ${BIN} *.o
+
+tags::
+ ctags -R