mirror of
https://github.com/Hizenberg469/WheelTimer.git
synced 2026-04-20 02:52:23 +03:00
15 lines
233 B
Makefile
15 lines
233 B
Makefile
LIBS=-lpthread
|
|
CC=gcc
|
|
CFLAGS=-Wall -g
|
|
INCLUDES=-I .
|
|
SRC=WheelTimer.o threadApi.o main.o LinkedListApi.o
|
|
TARGET:exe
|
|
%.o:%.c
|
|
${CC} ${CFLAGS} -c ${INCLUDES} $<
|
|
exe:$(SRC)
|
|
${CC} ${CFLAGS} $(SRC) -o exe $(LIBS)
|
|
clean:
|
|
rm *.o
|
|
rm exe
|
|
|