X-Git-Url: https://git.cworth.org/git?p=loudgame;a=blobdiff_plain;f=Makefile;fp=Makefile;h=f4e529dc0f053b25bce5870c5cba85518a5cfd11;hp=0000000000000000000000000000000000000000;hb=b71bfe83b2d18e4142b361605511db8bbe7925d9;hpb=8c5c387f532da09722b53e5f3853b545066ba394 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f4e529d --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +ALL=lm-echo +MYCFLAGS=-Wall `pkg-config --cflags loudmouth-1.0` +MYLDFLAGS=`pkg-config --libs loudmouth-1.0` + +all: $(ALL) + +%: %.c + $(CC) $(CFLAGS) $(MYCFLAGS) $(LDFLAGS) $(MYLDFLAGS) -o $@ $^ + +clean: + rm -f $(ALL) *.o