Commits

Anonymous committed 5d56c32

Add the GNU makefile to compile with extra optimisations.

Comments (0)

Files changed (1)

libfilefind/c_glib_based/Makefile.gnu

+CFLAGS = -O3 -march=native -fomit-frame-pointer -flto -fwhole-program
+
+all: minifind
+
+C_FILES = minifind.c filefind.c
+
+minifind: $(C_FILES)
+	gcc `pkg-config --cflags --libs glib-2.0` $(CFLAGS) -o $@ $(C_FILES)
+
+clean:
+	rm -f minifind *.o