Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 251 Bytes
CC = gcc
CFLAGS = -Wall
libudbus.a: udbus.o
$(AR) cr $@ $+
example: udbus.o example.o
$(CC) $(CFLAGS) -o $@ $+
example2: udbus.o example2.o
$(CC) $(CFLAGS) -o $@ $+
%.o: %.c %.h
$(CC) $(CFLAGS) -c -o $@ $<
clean:
-rm -rf *.o *.a example