Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 256 Bytes
OBJS = main.o cmrecorder.o pidof.o
CFLAGS = -Wall -O2
CC = gcc
LIBS = -lm
.phony: clean
all: cmrecorder
cmrecorder: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(LIBS) -o cmrecorder
%.o : %.c
$(CC) $(CFLAGS) -c $<
clean:
rm -f *.o
rm -f cmrecorder
rm -f *~