betaur

[WIP] A better AUR helper written in C
git clone git@nonplanar.org:betaur.git
Log | Files | Refs | README

Makefile (304B)


      1 SRCS=dependency.c aur/request.c
      2 HDRS=dependency.h aur/package.h
      3 OBJS=$(SRCS:.c=.o)
      4 
      5 # TODO add pkg-config for libalpm
      6 LDFLAGS=-lalpm
      7 CFLAGS=-std=c99 -I.
      8 
      9 CC=gcc
     10 
     11 %.o: %.c %.h
     12 	$(CC) $(CFLAGS) -c -o $@ $<
     13 
     14 betaur: betaur.c ${OBJS} ${HDRS}
     15 	$(CC) $(LDFLAGS) betaur.c $(OBJS) -o $@
     16 
     17 clean:
     18 	-rm *.o betaur
     19