1. Shlomi Fish
  2. perl-File-Find-Object-Rule

Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 5d56c32

Add the GNU makefile to compile with extra optimisations.

  • Participants
  • Parent commits 1a7933d
  • Branches default

Comments (0)

Files changed (1)

File libfilefind/c_glib_based/Makefile.gnu

View file
+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