Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Modified Makefile to include flashcache_setioctl

  • Loading branch information...
commit 041416a036b0df6ad6999e7b8aba3111216dd47d 1 parent 3f3393b
@lastguru1 lastguru1 authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/utils/Makefile
View
7 src/utils/Makefile
@@ -1,6 +1,6 @@
COMMIT_REV ?= $(shell git describe --always --abbrev=12)
CFLAGS += -I.. -I. -DCOMMIT_REV="\"$(COMMIT_REV)\"" -g
-PROGRAMS += flashcache_create flashcache_destroy flashcache_load
+PROGRAMS += flashcache_create flashcache_destroy flashcache_load flashcache_setioctl
INSTALL_DIR = $(DESTDIR)/sbin/
.PHONY:all
@@ -21,6 +21,11 @@ flashcache_load: flashcache_load.o
-include flashcache_load.d
+flashcache_setioctl: flashcache_setioctl.o
+ $(CC) $^ -o $@
+
+-include flashcache_setioctl.d
+
%.o: %.c
$(CC) -c $(CFLAGS) $*.c -o $*.o
@$(CC) -MM $(CFLAGS) -MF $*.d -MT $*.o $*.c
Please sign in to comment.
Something went wrong with that request. Please try again.