X-Git-Url: http://git.jankratochvil.net/?p=badblock-guess.git;a=blobdiff_plain;f=Makefile;h=f27c761b1602b581d008c3d3b617e67b0db4dab1;hp=16d5e695726d8e840a5dc8cdd66eb7b2c506ca13;hb=ad1f5c98ae9185db345a6f3f923941771e4c7bb5;hpb=ecd4617f5b30bc5816680650ef70b34073602d80 diff --git a/Makefile b/Makefile index 16d5e69..f27c761 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,8 @@ TARGETS=badblock-guess all: $(TARGETS) badblock-guess: badblock-guess.c - gcc -s -O2 -Wall -static `glib-config --cflags glib` -o $@ $< `glib-config --libs glib` -lext2fs + gcc -s -O2 -Wall -static `pkg-config --cflags glib-2.0` -o $@ $< `pkg-config --libs glib-2.0` -lext2fs \ + -lc -lnss_files -lnss_dns -lresolv clean: $(RM) $(TARGETS)